changeset 7929:c43f3a203133

[USG5_4] (sigblock): Use |, not &.
author Richard M. Stallman <rms@gnu.org>
date Thu, 16 Jun 1994 18:51:07 +0000
parents e8eb27a1d94e
children d7d962844f5f
files src/syssignal.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/syssignal.h	Thu Jun 16 15:44:16 1994 +0000
+++ b/src/syssignal.h	Thu Jun 16 18:51:07 1994 +0000
@@ -71,7 +71,7 @@
 #ifdef USG5_4
 
 #ifndef sigblock
-#define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK & sig, NULL))
+#define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL))
 #endif
 
 #define sigunblock(sig) (sigprocmask (SIG_SETMASK, SIGFULLMASK & ~(sig), NULL))