This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
conformtest: Correct XOPEN2K stdarg.h expectations [committed]
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Tue, 26 Apr 2016 13:56:40 +0000
- Subject: conformtest: Correct XOPEN2K stdarg.h expectations [committed]
- Authentication-results: sourceware.org; auth=none
The conform/ test expectations for stdarg.h were wrongly missing an
expectation of va_copy for XOPEN2K (based on C99, so including that
macro). This patch fixes this.
Tested for x86_64 and x86. Committed.
2016-04-26 Joseph Myers <joseph@codesourcery.com>
* conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
* conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
variable.
diff --git a/conform/Makefile b/conform/Makefile
index 7af4b2f..a1759c9 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -215,7 +215,6 @@ test-xfail-XOPEN2K/langinfo.h/conform = yes
test-xfail-XOPEN2K/mqueue.h/conform = yes
test-xfail-XOPEN2K/semaphore.h/conform = yes
test-xfail-XOPEN2K/signal.h/conform = yes
-test-xfail-XOPEN2K/stdarg.h/conform = yes
test-xfail-XOPEN2K/sys/wait.h/conform = yes
test-xfail-XOPEN2K/ucontext.h/conform = yes
test-xfail-POSIX2008/arpa/inet.h/conform = yes
diff --git a/conform/data/stdarg.h-data b/conform/data/stdarg.h-data
index 2c87a3b..53addb9 100644
--- a/conform/data/stdarg.h-data
+++ b/conform/data/stdarg.h-data
@@ -5,7 +5,7 @@ macro va_start
macro va_arg
macro va_end
-#if defined ISO99 || defined ISO11 || defined POSIX2008 || defined XOPEN2K8
+#if defined ISO99 || defined ISO11 || defined XOPEN2K || defined POSIX2008 || defined XOPEN2K8
macro va_copy
#endif
--
Joseph S. Myers
joseph@codesourcery.com