about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-07 19:37:52 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-07 19:37:52 +0000
commit9e188909df5ba1f20506bad6425870ea0468b4de (patch)
tree340d0009f1c0da9cd6a2e7098e6f6f83b1dfb1a2
parent05bcf62afbfcf1a42ef2d8e80e0dba887d970781 (diff)
downloadglibc-9e188909df5ba1f20506bad6425870ea0468b4de.tar.gz
glibc-9e188909df5ba1f20506bad6425870ea0468b4de.tar.xz
glibc-9e188909df5ba1f20506bad6425870ea0468b4de.zip
conformtest: Only expect mknodat for XOPEN2K8.
-rw-r--r--ChangeLog3
-rw-r--r--conform/data/sys/stat.h-data2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fdacb2e3f2..52a497e507 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
 
+	* conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
+	Change condition to [XOPEN2K8].
+
 	* conform/conformtest.pl: Preprocess allow-header data with -x c
 	instead of from stdin.
 	(@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
diff --git a/conform/data/sys/stat.h-data b/conform/data/sys/stat.h-data
index a7db93f576..2a5c3bf347 100644
--- a/conform/data/sys/stat.h-data
+++ b/conform/data/sys/stat.h-data
@@ -122,6 +122,8 @@ function int mkfifoat (int, const char*, mode_t)
 # endif
 # if !defined POSIX && !defined POSIX2008
 function int mknod (const char*, mode_t, dev_t)
+# endif
+# ifdef XOPEN2K8
 function int mknodat (int, const char*, mode_t, dev_t)
 # endif
 function int stat (const char*, struct stat*)