about summary refs log tree commit diff
path: root/conform/data
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-05-12 20:47:15 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-05-12 20:47:15 +0000
commit567c710bcad634bc94a21f00b9e1c24ca9f9f57c (patch)
treeba54485474f3b6c32634379f9c33b09654973559 /conform/data
parent7f8843c92a6b28f8184ed13705a8de54206f759e (diff)
downloadglibc-567c710bcad634bc94a21f00b9e1c24ca9f9f57c.tar.gz
glibc-567c710bcad634bc94a21f00b9e1c24ca9f9f57c.tar.xz
glibc-567c710bcad634bc94a21f00b9e1c24ca9f9f57c.zip
conformtest: Correct time.h XPG3 expectations.
This patch corrects spurious conformtest expectations of getdate and
getdate_err for XPG3.  (This is not based on a full review of the
expectations, so there may be other issues where the header and tests
agree but are both incorrect.)

Tested for x86_64 and x86.

	* conform/data/time.h-data (getdate_err): Do not expect for
	[XPG3].
	(getdate): Likewise.
	* conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
	variable.
Diffstat (limited to 'conform/data')
-rw-r--r--conform/data/time.h-data4
1 files changed, 2 insertions, 2 deletions
diff --git a/conform/data/time.h-data b/conform/data/time.h-data
index ddd9a074c8..9fbe54ed12 100644
--- a/conform/data/time.h-data
+++ b/conform/data/time.h-data
@@ -72,7 +72,7 @@ type locale_t
 tag {struct sigevent}
 # endif
 
-# if !defined POSIX && !defined POSIX2008
+# if !defined XPG3 && !defined POSIX && !defined POSIX2008
 variable int getdate_err
 # endif
 
@@ -91,7 +91,7 @@ function int clock_nanosleep (clockid_t, int, const struct timespec*, struct tim
 function int clock_settime (clockid_t, const struct timespec*)
 #endif
 function {char*} ctime_r (const time_t*, char*)
-# if !defined POSIX && !defined POSIX2008
+# if !defined XPG3 && !defined POSIX && !defined POSIX2008
 function {struct tm*} getdate (const char*)
 # endif
 function {struct tm*} gmtime_r (const time_t*, struct tm*)