This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygwin64: Issue with sigaddset


Hello,

I found this while trying to compile perl 5.20.1 on latest cygwin64 (just updated yesterday).

Effectively, sigaddset is adding a signal along these lines.  If signal x is less than 32, then two signals are added: x and x+32.  If signal x is greater than 32, then again two signals are added, x and x-32.

Itâs been far too many years since Iâve written C but the attached code snippet to prove it (hopefully it proves it) â and running the same âcodeâ (I put that in quotes because itâs like preschool C) on any Linux works as expected - just adding the one signal.

This is causing the sigset.t test for the POSIX module in perl core to fail.  There are a ton of other failures in testing 5.20.1 core but hopefully theyâre not all cygwin related like this one.

thanks

â rich  

Attachment: cygcheck.out
Description: Binary data

Attachment: addset.c
Description: Binary data

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]