[Bug libc/21550] sigwait namespace

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Mon Jun 12 17:39:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21550

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  a0f8b1152040d2652cdeb741ac586c95221dc5f0 (commit)
      from  5a103908c025049106663c831471473205782985 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a0f8b1152040d2652cdeb741ac586c95221dc5f0

commit a0f8b1152040d2652cdeb741ac586c95221dc5f0
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Jun 12 17:38:20 2017 +0000

    Fix sigwait namespace (bug 21550).

    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.

    Tested for x86_64.  Because of other namespace problems this does not
    allow any conform/ XFAILs to be removed.

        [BZ #21550]
        * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog       |    5 +++++
 signal/signal.h |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list