Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Fri Feb 26 05:15:00 GMT 2010

I'm running across more and more software which expects SIGPWR to be 

In Linux, SIGPWR is a synonym for SIGLOST on sparc, on alpha it's a 
synonym for SIGINFO (unique to alpha, and SIGLOST is not defined), and 
almost all other arches do not define SIGLOST at all and define SIGPWR 
on it's own.  Only one arch (parisc) defines both SIGLOST and SIGPWR 

Neither SIGPWR nor SIGLOST are defined by POSIX.  Since we already 
define SIGLOST, and no signal value <SIGRTMIN is undefined, this patch 
follows the lead of Linux sparc and defines SIGPWR as a synonym for SIGLOST.

IIUC in strsig.cc, only the first signal passed to _s2 will be listed by 
'kill -l' but both are accepted.  To match Linux behaviour I chose to 
make SIGPWR primary.

Patch attached.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygwin-signal-SIGPWR.patch
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20100226/c8ecd58b/attachment.ksh>

More information about the Cygwin-patches mailing list