This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix sigwait namespace (bug 21550)
- From: Zack Weinberg <zackw at panix dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 12 Jun 2017 12:54:45 -0400
- Subject: Re: Fix sigwait namespace (bug 21550)
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.20.1706051556460.19349@digraph.polyomino.org.uk>
On Mon, Jun 5, 2017 at 11:57 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> sigwait was added to POSIX in 1995; it is not in older POSIX versions
> or XPG4 / XPG4.2. Thus it should be declared only if
> __USE_POSIX199506; signal.h wrongly declares it for __USE_POSIX.
> (sigwaitinfo is correctly conditioned on __USE_POSIX199309.) This
> patch fixes the condition on the declaration of sigwait.
This is OK.
zw