This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix waitid namespace (bug 21561)
- 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: Fri, 9 Jun 2017 12:20:51 -0400
- Subject: Re: Fix waitid namespace (bug 21561)
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.20.1706091506510.18523@digraph.polyomino.org.uk>
On Fri, Jun 9, 2017 at 11:07 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> In sys/wait.h, waitid and associated constants and types are UX-shaded
> in XPG4.2 (so not in XPG4), and XSI-shaded in POSIX before 2008, so
> should be appropriately conditional in the headers. This patch fixes
> the conditionals accordingly. (WCONTINUED is actually still
> XSI-shaded in POSIX.1:2008, but W* is also reserved there without
> XSI-shading, so nothing special needs to be done about the
> conditionals on WCONTINUED to conform to POSIX.1:2008 namespace
> rules.)
LGTM.
zw