diff src/s/hpux.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/hpux.h	Mon Aug 13 11:00:13 2007 +0200
+++ b/src/s/hpux.h	Mon Aug 13 11:01:07 2007 +0200
@@ -186,7 +186,7 @@
     if (tty_group == NULL)                      \
       fatal ("group tty not found");            \
 						\
-    sigblock(sigmask(SIGCHLD));			\
+    EMACS_BLOCK_SIGNAL (SIGCHLD);		\
     if (grantpt(fd) == -1)			\
       fatal("could not grant slave pty");	\
     if (!(ptyname = ptsname(fd)))		\
@@ -197,7 +197,7 @@
       fatal ("could not chown slave pty");      \
     if (unlockpt(fd) == -1)			\
       fatal("could not unlock slave pty");	\
-    sigunblock(sigmask(SIGCHLD));		\
+    EMACS_UNBLOCK_SIGNAL (SIGCHLD);		\
   }
 
 /* Push various streams modules onto a PTY channel. */