public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/18483] New: psignal, psiginfo should not be declared for 2001 edition of POSIX
@ 2015-06-03 14:29 jsm28 at gcc dot gnu.org
2015-06-05 21:15 ` [Bug libc/18483] " jsm28 at gcc dot gnu.org
2015-06-05 21:15 ` cvs-commit at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-06-03 14:29 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=18483
Bug ID: 18483
Summary: psignal, psiginfo should not be declared for 2001
edition of POSIX
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
CC: drepper.fsp at gmail dot com
Target Milestone: ---
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libc/18483] psignal, psiginfo should not be declared for 2001 edition of POSIX
2015-06-03 14:29 [Bug libc/18483] New: psignal, psiginfo should not be declared for 2001 edition of POSIX jsm28 at gcc dot gnu.org
2015-06-05 21:15 ` [Bug libc/18483] " jsm28 at gcc dot gnu.org
@ 2015-06-05 21:15 ` cvs-commit at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-06-05 21:15 UTC (permalink / raw)
To: glibc-bugs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libc/18483] psignal, psiginfo should not be declared for 2001 edition of POSIX
2015-06-03 14:29 [Bug libc/18483] New: psignal, psiginfo should not be declared for 2001 edition of POSIX jsm28 at gcc dot gnu.org
@ 2015-06-05 21:15 ` jsm28 at gcc dot gnu.org
2015-06-05 21:15 ` cvs-commit at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-06-05 21:15 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=18483
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.22.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-05 21:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-03 14:29 [Bug libc/18483] New: psignal, psiginfo should not be declared for 2001 edition of POSIX jsm28 at gcc dot gnu.org
2015-06-05 21:15 ` [Bug libc/18483] " jsm28 at gcc dot gnu.org
2015-06-05 21:15 ` cvs-commit at gcc dot gnu.org
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).