Mercurial > hg > xemacs-beta
diff src/s/gnu.h @ 367:a4f53d9b3154 r21-1-13
Import from CVS: tag r21-1-13
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:01:07 +0200 |
parents | 30d2cfa1092a |
children | cc15677e0335 |
line wrap: on
line diff
--- a/src/s/gnu.h Mon Aug 13 11:00:13 2007 +0200 +++ b/src/s/gnu.h Mon Aug 13 11:01:07 2007 +0200 @@ -83,7 +83,7 @@ { \ char *ptsname(), *ptyname; \ \ - sigblock(sigmask(SIGCHLD)); \ + EMACS_BLOCK_SIGNAL (SIGCHLD); \ if (grantpt(fd) == -1) \ fatal("could not grant slave pty"); \ if (unlockpt(fd) == -1) \ @@ -92,7 +92,7 @@ fatal ("could not enable slave pty"); \ strncpy(pty_name, ptyname, sizeof(pty_name)); \ pty_name[sizeof(pty_name) - 1] = 0; \ - sigsetmask(siggetmask() & ~sigmask(SIGCHLD)); \ + EMACS_UNBLOCK_SIGNAL (SIGCHLD); \ } #endif