public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18483] psignal, psiginfo should not be declared for 2001 edition of POSIX
Date: Fri, 05 Jun 2015 21:15:00 -0000	[thread overview]
Message-ID: <bug-18483-131-Yu8BEIytxP@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-18483-131@http.sourceware.org/bugzilla/>

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

--- 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  007f2dd1228a4b21b10756c696876babb8cf86cd (commit)
      from  9dd6b7799a0b04034f2d2266845c64a309b015a3 (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=007f2dd1228a4b21b10756c696876babb8cf86cd

commit 007f2dd1228a4b21b10756c696876babb8cf86cd
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Jun 5 21:14:16 2015 +0000

    Fix psignal, psiginfo declaration conditions (bug 18483).

    signal.h declares psignal and psiginfo if __USE_XOPEN2K - that is, for
    the 2001 edition of POSIX.  These functions were actually added in the
    2008 edition (as indicated in the header comments).  This patch fixes
    the header conditionals.  This fixes some linknamespace test failures
    because psiginfo uses fmemopen, which is also new in the 2008 edition,
    so before the header fix this appeared to the linknamespace tests as a
    2001 function bringing in references to a 2008 function.  The problem
    also appeared in conformtest header namespace test results (the
    conformtest data has correct conditionals for when these functions
    should be visible), but the affected headers still have other
    namespace problems so this doesn't fix any of those XFAILs.

    Tested for x86_64 and x86 (testsuite, and that installed stripped
    shared libraries are unchanged by the patch).

        [BZ #18483]
        * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
        [__USE_XOPEN2K8].  Remove redundant #endif.
        [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
        Remove redundant #if.
        * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
        Remove variable.
        (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
        (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.

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

Summary of changes:
 ChangeLog        |   10 ++++++++++
 NEWS             |    2 +-
 conform/Makefile |    3 ---
 signal/signal.h  |    4 +---
 4 files changed, 12 insertions(+), 7 deletions(-)

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


  reply	other threads:[~2015-06-05 21:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-03 14:29 [Bug libc/18483] New: " jsm28 at gcc dot gnu.org
2015-06-05 21:15 ` cvs-commit at gcc dot gnu.org [this message]
2015-06-05 21:15 ` [Bug libc/18483] " jsm28 at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-18483-131-Yu8BEIytxP@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).