From: cgf AT cygnus DOT com (Christopher Faylor) Subject: sigaddset, sigdelset, sigmasks "wrong" in cygwin32 6 May 1998 07:46:58 -0700 Message-ID: <199805061417.KAA11982.cygnus.cygwin32.developers@kramden.cygnus.com> To: gnu-win32-local AT cygnus DOT com Cc: cygwin32-developers AT cygnus DOT com A net user has just brought to my attention the fact that there is, for some reason, macros in /usr/include/sys/signal.h which implement sigaddset and sigdelset. This is clearly wrong as there are library routines to handle this and the macro does no bounds checking. I told the user to comment out the macros and use the library functions. He then discovered that all of the mask operations in cygwin32 are "off by one", i.e., the mask is set like this: mask |= 1<