conformtest: Only expect mknodat for XOPEN2K8.

This commit is contained in:
Joseph Myers 2012-11-07 19:37:52 +00:00
parent 05bcf62afb
commit 9e188909df
2 changed files with 5 additions and 0 deletions

View File

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

View File

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