diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-02-26 01:43:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-02-26 01:43:53 +0000 |
commit | 3e6b0a28ebc2319262b318790019558f78249c8b (patch) | |
tree | db13f5c985e08c31bb7dbe3a46def48401623618 /io | |
parent | 2e6d6bacc2f0a30f7dbebc977d52904d4a823c45 (diff) | |
download | glibc-3e6b0a28ebc2319262b318790019558f78249c8b.tar glibc-3e6b0a28ebc2319262b318790019558f78249c8b.tar.gz glibc-3e6b0a28ebc2319262b318790019558f78249c8b.tar.bz2 glibc-3e6b0a28ebc2319262b318790019558f78249c8b.zip |
* include/features.h: Define macros for XPG7/POSIX 2008.
* sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and
UTIME_OMIT only with __USE_ATFILE.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
* io/sys/stat.h: Move mknodat definition into same conditional as
mknod.
* time/sys/time.h: futimesat is not among the functions accepted
into the POSIX standard.
Diffstat (limited to 'io')
-rw-r--r-- | io/sys/stat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h index 98b950d5f2..60955016eb 100644 --- a/io/sys/stat.h +++ b/io/sys/stat.h @@ -333,14 +333,14 @@ extern int mkdirat (int __fd, __const char *__path, __mode_t __mode) #if defined __USE_MISC || defined __USE_BSD || defined __USE_XOPEN_EXTENDED extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev) __THROW __nonnull ((1)); -#endif -#ifdef __USE_ATFILE +# ifdef __USE_ATFILE /* Like mknod, create a new device file with permission bits MODE and device number DEV. But interpret relative PATH names relative to the directory associated with FD. */ extern int mknodat (int __fd, __const char *__path, __mode_t __mode, __dev_t __dev) __THROW __nonnull ((2)); +# endif #endif |