This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

conformtest: Fix typo in CLK_TCK condition


One failure in the conform/ tests for XOPEN2K is the expectation of
CLK_TCK.  That symbol was removed in that version, but the expectation
uses "!defined XOPEN21K" where it should use "!defined XOPEN2K", so
wrongly expects it in that version.

I've committed as obvious this patch to fix that typo in the
expectation.  Tested x86_64.

2012-11-07  Joseph Myers  <joseph@codesourcery.com>

	* conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
	Change XOPEN21K to XOPEN2K.

diff --git a/conform/data/time.h-data b/conform/data/time.h-data
index 8ed2b4a..31d5e7d 100644
--- a/conform/data/time.h-data
+++ b/conform/data/time.h-data
@@ -42,7 +42,7 @@ function int timespec_get (struct timespec *, int)
 #endif
 
 #if !defined ISO && !defined ISO99 && !defined ISO11
-# if !defined XOPEN21K && !defined XOPEN2K8 && !defined POSIX2008
+# if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
 symbol CLK_TCK
 # endif
 constant CLOCK_PROCESS_CPUTIME_ID

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]