Hi Dave, thank you very much for your prompt reply. It is perfectly understandable that a sigset_t must be initialized before calling one such function. However, I have called sigpending() before calling sigisemptyset(). Now sigpending() "returns the set of signals that are pending ...". By this, I understand that assigns entirely the object passed as argument. I have the impression that it fills only a portion of it, while sigisemptyset() test it completely. Note that a sigset_t is much larger than what is needed to hold the 64 signals that are supported by Linux. sigsetops(3) man page does not say that the object must be initialized before calling sigpending() (it would be rather queer if it did). Thus, there is some inconsistency between the functioning of sigpending() and sigisemptyset(): either both should address all bytes in sigset_t, or both should address only a portion of it.
Thank you -Angelo -- 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
