conformtest: Correct XOPEN2K stdarg.h expectations.

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.

	* conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
	* conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
	variable.
This commit is contained in:
Joseph Myers 2016-04-26 13:56:04 +00:00
parent bf07472615
commit 6da052fd6a
3 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,9 @@
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.
* libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
[__USE_XOPEN2K8].
[__USE_LARGEFILE64] (off64_t): Likewise.

View File

@ -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

View File

@ -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