This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix wait3 namespace (bug 21625)
- From: Florian Weimer <fweimer at redhat dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 19 Jun 2017 18:24:51 +0200
- Subject: Re: Fix wait3 namespace (bug 21625)
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 03754C04B92D
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 03754C04B92D
- References: <alpine.DEB.2.20.1706191616290.27712@digraph.polyomino.org.uk>
On 06/19/2017 06:17 PM, Joseph Myers wrote:
> The wait3 function was removed in the 2001 edition of POSIX.
> sys/wait.h wrongly declares it for the 2001 and 2008 editions of POSIX
> when XSI features are enabled. This patch fixes the conditionals.
>
> Tested for x86_64.
>
> 2017-06-19 Joseph Myers <joseph@codesourcery.com>
>
> [BZ #21625]
> * posix/sys/wait.h (strust rusage forward declaration): Change
> [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
> !__USE_XOPEN2K].
> (wait3): Likewise.
Looks okay to me based on your explanation.
Thanks,
Florian