In the manpage sigsetops(3) is the statement:
Objects of type sigset_t must be initialized by a call to either
sigemptyset() or sigfillset() before being passed to the functions
sigaddset(), sigdelset() and sigismember() or the additional glibc
functions described below (sigisemptyset(), sigandset(), and sig‐
orset()). The results are undefined if this is not done.
that seems to be what you are seeing; since the man page states you need to
call sigemptyset then I say the behaviour you are seeing is allowed.
Dave
** Changed in: glibc (Ubuntu)
Status: New => Invalid
--
sigisemptyset() does not detect empty set
https://bugs.launchpad.net/bugs/432750
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs