comparison src/s/irix5-0.h @ 278:90d73dddcdc4 r21-0b37

Import from CVS: tag r21-0b37
author cvs
date Mon, 13 Aug 2007 10:31:29 +0200
parents c5d627a313b1
children
comparison
equal deleted inserted replaced
277:cfdf3ff11843 278:90d73dddcdc4
40 /* It is necessary to prevent SIGCHLD signals within _getpty. 40 /* It is necessary to prevent SIGCHLD signals within _getpty.
41 So we block them. */ 41 So we block them. */
42 #define PTY_OPEN \ 42 #define PTY_OPEN \
43 { \ 43 { \
44 char *name; \ 44 char *name; \
45 struct stat stb; \
45 EMACS_BLOCK_SIGCHLD; \ 46 EMACS_BLOCK_SIGCHLD; \
46 name = _getpty (&fd, O_RDWR | O_NDELAY, 0600, 0); \ 47 name = _getpty (&fd, O_RDWR | O_NDELAY, 0600, 0); \
47 EMACS_UNBLOCK_SIGCHLD; \ 48 EMACS_UNBLOCK_SIGCHLD; \
48 if (name == 0) \ 49 if (name == 0) \
49 return -1; \ 50 return -1; \