about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-08-14 17:05:55 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-08-14 17:05:55 +0000
commit88ff4d5561f3ee0472b47cabf3741fb083bd27e8 (patch)
tree1f1f9d9e2c2fdb386ef530d75edbe3bdc68541c3
parentc88ffc239e8d8820f6d1d4e185984e6093a1e4d7 (diff)
downloadglibc-88ff4d5561f3ee0472b47cabf3741fb083bd27e8.tar.gz
glibc-88ff4d5561f3ee0472b47cabf3741fb083bd27e8.tar.xz
glibc-88ff4d5561f3ee0472b47cabf3741fb083bd27e8.zip
conformtest: Disable si_value expectation for XPG42.
This patch corrects the conform/ expectations for sys/wait.h not to
expect si_value for XPG4.2.

Tested for x86_64.

	* conform/data/sys/wait.h-data (si_value): Do not expect for
	XPG42.
-rw-r--r--ChangeLog5
-rw-r--r--conform/data/sys/wait.h-data2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 518f54d135..56540f55a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-14  Joseph Myers  <joseph@codesourcery.com>
+
+	* conform/data/sys/wait.h-data (si_value): Do not expect for
+	XPG42.
+
 2017-08-14  Florian Weimer  <fweimer@redhat.com>
 
 	[BZ #21962]
diff --git a/conform/data/sys/wait.h-data b/conform/data/sys/wait.h-data
index 912d95df99..559ebdf677 100644
--- a/conform/data/sys/wait.h-data
+++ b/conform/data/sys/wait.h-data
@@ -45,7 +45,9 @@ element siginfo_t uid_t si_uid
 element siginfo_t {void*} si_addr
 element siginfo_t int si_status
 element siginfo_t long si_band
+# ifndef XPG42
 element siginfo_t {union sigval} si_value
+# endif
 #endif
 
 #if !defined POSIX && !defined XPG4 && !defined XOPEN2K8 && !defined POSIX2008