comparison src/s/irix4-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
33 /* It is necessary to prevent SIGCHLD signals within _getpty. 33 /* It is necessary to prevent SIGCHLD signals within _getpty.
34 So we block them. */ 34 So we block them. */
35 #define PTY_OPEN \ 35 #define PTY_OPEN \
36 { \ 36 { \
37 char *name; \ 37 char *name; \
38 struct stat stb; \
38 EMACS_BLOCK_SIGCHLD; \ 39 EMACS_BLOCK_SIGCHLD; \
39 name = _getpty (&fd, O_RDWR | O_NDELAY, 0600, 0); \ 40 name = _getpty (&fd, O_RDWR | O_NDELAY, 0600, 0); \
40 EMACS_UNBLOCK_SIGCHLD; \ 41 EMACS_UNBLOCK_SIGCHLD; \
41 if (name == 0) \ 42 if (name == 0) \
42 return -1; \ 43 return -1; \