about summary refs log tree commit diff
path: root/conform
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-12 20:11:10 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-12 20:11:10 -0800
commit2e3e1b3309f8a8d86c6b5f97cc6c347c05a0e44b (patch)
treed43a2ed3870f0beb5a77fe638cad3152dbded531 /conform
parentdfe11a137c2bd33bfe2824a2dc218cf8dbc60aba (diff)
downloadglibc-2e3e1b3309f8a8d86c6b5f97cc6c347c05a0e44b.tar.gz
glibc-2e3e1b3309f8a8d86c6b5f97cc6c347c05a0e44b.tar.xz
glibc-2e3e1b3309f8a8d86c6b5f97cc6c347c05a0e44b.zip
More test suite fixes.
Diffstat (limited to 'conform')
-rw-r--r--conform/data/complex.h-data2
-rw-r--r--conform/data/ctype.h-data18
-rw-r--r--conform/data/dirent.h-data2
3 files changed, 12 insertions, 10 deletions
diff --git a/conform/data/complex.h-data b/conform/data/complex.h-data
index 5c5eedd181..006d6e4de7 100644
--- a/conform/data/complex.h-data
+++ b/conform/data/complex.h-data
@@ -1,4 +1,4 @@
-#ifdef XOPEN2K
+#if defined XOPEN2K || defined POSIX2008
 macro complex
 macro _Complex_I
 optional-macro imaginary
diff --git a/conform/data/ctype.h-data b/conform/data/ctype.h-data
index d082230f94..091d377bec 100644
--- a/conform/data/ctype.h-data
+++ b/conform/data/ctype.h-data
@@ -19,15 +19,9 @@ function int toascii (int)
 // XPG says the following two are macros.  But we test a bit more strictly.
 function int _toupper (int)
 function int _tolower (int)
+#endif
 
-// The following is not entirely correct.  It should be is[a-z]* but the
-// replacement fnmatch implementation does not grok it.
-allow is*
-allow to*
-
-allow *_t
-
-# if defined XOPEN2K8 || defined XOPEN2K8 || defined POSIX2008
+# if defined XOPEN2K8 || defined POSIX2008
 type locale_t
 
 function int isalnum_l (int, locale_t)
@@ -44,4 +38,10 @@ function int isxdigit_l (int, locale_t)
 function int tolower_l (int, locale_t)
 function int toupper_l (int, locale_t)
 # endif
-#endif
+
+// The following is not entirely correct.  It should be is[a-z]* but the
+// replacement fnmatch implementation does not grok it.
+allow is*
+allow to*
+
+allow *_t
diff --git a/conform/data/dirent.h-data b/conform/data/dirent.h-data
index 761d5786b5..f1cd59cdaf 100644
--- a/conform/data/dirent.h-data
+++ b/conform/data/dirent.h-data
@@ -8,7 +8,9 @@ element {struct dirent} ino_t d_ino
 # endif
 element {struct dirent} char d_name []
 
+# if !defined POSIX && !defined POSIX2008
 type ino_t
+#endif
 
 function int closedir (DIR*)
 function {DIR*} opendir (const char*)