2016-05-10 Joseph Myers <joseph@codesourcery.com>
+ * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
+ [XPG3] (S_IFSOCK): Likewise.
+ [XPG3] (S_ISVTX): Likewise.
+ [XPG3] (S_ISLNK): Likewise.
+ [XPG3] (S_ISSOCK): Likewise.
+ [XPG3] (fchmod): Likewise.
+ [XPG3] (lstat): Likewise.
+ [XPG3] (mknod): Likewise.
+
* conform/data/sys/stat.h-data (st_blksize): Do not expect for
[XPG3]. Expect type long and XFAIL for [XPG4].
(st_blocks): Likewise.
constant S_IFIFO
constant S_IFREG
constant S_IFDIR
+# ifndef XPG3
constant S_IFLNK
constant S_IFSOCK
+# endif
#endif
constant S_IRWXU
constant S_IXOTH
constant S_ISUID
constant S_ISGID
-#if !defined POSIX && !defined POSIX2008
+#if !defined XPG3 && !defined POSIX && !defined POSIX2008
constant S_ISVTX
#endif
macro S_ISDIR
macro S_ISFIFO
macro S_ISREG
-#if !defined POSIX
+#if !defined XPG3 && !defined POSIX
macro S_ISLNK
macro S_ISSOCK
#endif
# endif
function int chmod (const char*, mode_t)
+# ifndef XPG3
function int fchmod (int, mode_t)
+# endif
# if defined XOPEN2K8 || defined POSIX2008
function int fchmodat (int, const char*, mode_t, int)
# endif
function int fstatat (int, const char*, struct stat*, int)
function int futimens (int, const struct timespec[2])
# endif
-#if !defined POSIX
+#if !defined XPG3 && !defined POSIX
function int lstat (const char*, struct stat*)
#endif
function int mkdir (const char*, mode_t)
# if defined XOPEN2K8 || defined POSIX2008
function int mkfifoat (int, const char*, mode_t)
# endif
-# if !defined POSIX && !defined POSIX2008
+# if !defined XPG3 && !defined POSIX && !defined POSIX2008
function int mknod (const char*, mode_t, dev_t)
# endif
# ifdef XOPEN2K8