This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Sat, Nov 20, 2004 at 06:06:23PM +0100, Jakub Jelinek wrote: > I believe the nonnull attributes for __sighandler_t arguments are wrong. > SIG_DFL (which is ((__sighandler_t) 0) == NULL) is a valid argument > for these functions. BTW, is the nonnull attribute for first sigwait/sigwaitinfo/sigtimedwait correct? I think so from reading the standards, but in that case I wonder why we test it, e.g.: static int do_sigwaitinfo (const sigset_t *set, siginfo_t *info) { #ifdef SIGCANCEL sigset_t tmpset; if (set != NULL ... Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |