This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.25-431-gab70273
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 8 Jun 2017 22:35:34 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.25-431-gab70273
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 ab70273bb7b0d4b20325560eba1fd3777d7e5f11 (commit)
from 37b66c0b1a2156a43fb813499326230639ba2773 (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 -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ab70273bb7b0d4b20325560eba1fd3777d7e5f11
commit ab70273bb7b0d4b20325560eba1fd3777d7e5f11
Author: Joseph Myers <joseph@codesourcery.com>
Date: Thu Jun 8 22:34:58 2017 +0000
conformtest: Correct sys/wait.h expectations for XPG4.
This patch corrects the conformtest expectations for sys/wait.h for
XPG4. This does not change the test results for this header at the
makefile level since it fixes some spurious failures for this header
while introducing other failures previously hidden by incorrect
expectations. However, it shows up issues with stdlib.h for XPG4
defining W* names that are not permitted in this case (previously
wrongly allowed; the W* reservation is UX-shaded in XPG4.2 /
XSI-shaded in POSIX before 2008); that test is thus XFAILed.
Tested for x86_64.
* conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
[XPG4].
(WEXITED): Likewise.
(WSTOPPED): Likewise.
(WCONTINUED): Likewise.
(WNOHANG): Likewise.
(WNOWAIT): Likewise.
(idtype_t): Likewise.
(P_ALL): Likewise.
(P_PID): Likewise.
(P_PGID): Likewise.
(id_t): Likewise.
(siginfo_t): Likewise.
(wait3): Likewise.
(waitid): Likewise.
(signal.h): Do not allow header for [XPG4].
(sys/resource.h): Likewise.
(si_*): Do not allow for [XPG4].
(W*): Likewise.
(P_*): Likewise.
(BUS_): Likewise.
(CLD_): Likewise.
(FPE_): Likewise.
(ILL_): Likewise.
(POLL_): Likewise.
(SEGV_): Likewise.
(SI_): Likewise.
(TRAP_): Likewise.
* conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
variable.
diff --git a/ChangeLog b/ChangeLog
index 72e5341..6c6ff13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,36 @@
+2017-06-08 Joseph Myers <joseph@codesourcery.com>
+
+ * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
+ [XPG4].
+ (WEXITED): Likewise.
+ (WSTOPPED): Likewise.
+ (WCONTINUED): Likewise.
+ (WNOHANG): Likewise.
+ (WNOWAIT): Likewise.
+ (idtype_t): Likewise.
+ (P_ALL): Likewise.
+ (P_PID): Likewise.
+ (P_PGID): Likewise.
+ (id_t): Likewise.
+ (siginfo_t): Likewise.
+ (wait3): Likewise.
+ (waitid): Likewise.
+ (signal.h): Do not allow header for [XPG4].
+ (sys/resource.h): Likewise.
+ (si_*): Do not allow for [XPG4].
+ (W*): Likewise.
+ (P_*): Likewise.
+ (BUS_): Likewise.
+ (CLD_): Likewise.
+ (FPE_): Likewise.
+ (ILL_): Likewise.
+ (POLL_): Likewise.
+ (SEGV_): Likewise.
+ (SI_): Likewise.
+ (TRAP_): Likewise.
+ * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
+ variable.
+
2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
[BZ #21528]
diff --git a/conform/Makefile b/conform/Makefile
index 63556b5..ac69153 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -162,6 +162,7 @@ test-xfail-XOPEN2K8/ndbm.h/conform = yes
# Unsorted expected failures.
test-xfail-XPG4/signal.h/conform = yes
+test-xfail-XPG4/stdlib.h/conform = yes
test-xfail-XPG4/sys/wait.h/conform = yes
test-xfail-XPG42/signal.h/conform = yes
test-xfail-XPG42/sys/wait.h/conform = yes
diff --git a/conform/data/sys/wait.h-data b/conform/data/sys/wait.h-data
index 74a062e..912d95d 100644
--- a/conform/data/sys/wait.h-data
+++ b/conform/data/sys/wait.h-data
@@ -7,7 +7,7 @@ constant WNOHANG
constant WUNTRACED
macro WEXITSTATUS
-# if !defined POSIX && !defined POSIX2008
+# if !defined XPG4 && !defined POSIX && !defined POSIX2008
macro WIFCONTINUED
# endif
macro WIFEXITED
@@ -16,7 +16,7 @@ macro WIFSTOPPED
macro WSTOPSIG
macro WTERMSIG
-# ifndef POSIX
+# if !defined XPG4 && !defined POSIX
constant WEXITED
constant WSTOPPED
# ifndef POSIX2008
@@ -26,7 +26,7 @@ constant WNOHANG
constant WNOWAIT
# endif
-#if !defined POSIX
+#if !defined XPG4 && !defined POSIX
type idtype_t
constant P_ALL
@@ -60,15 +60,15 @@ type pid_t
#endif
function pid_t wait (int*)
-#if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
+#if !defined XPG4 && !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
function pid_t wait3 (int*, int, struct rusage*)
#endif
-#if !defined POSIX
+#if !defined XPG4 && !defined POSIX
function int waitid (idtype_t, id_t, siginfo_t*, int)
#endif
function pid_t waitpid (pid_t, int*, int)
-#if !defined POSIX
+#if !defined XPG4 && !defined POSIX
allow-header signal.h
allow-header sys/resource.h
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 33 +++++++++++++++++++++++++++++++++
conform/Makefile | 1 +
conform/data/sys/wait.h-data | 12 ++++++------
3 files changed, 40 insertions(+), 6 deletions(-)
hooks/post-receive
--
GNU C Library master sources