diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-05-10 21:44:41 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-05-10 21:44:41 +0000 |
commit | c27d2078135ca3df129850f87598660252d6906a (patch) | |
tree | edddcd9deaea803af9290a6bb8b78fd290a5708b /sysdeps/unix/sysv/linux/s390/bits | |
parent | 00afb11fc0a9282d7e2cbc51cd1c65bf1b79a5ae (diff) | |
download | glibc-c27d2078135ca3df129850f87598660252d6906a.tar glibc-c27d2078135ca3df129850f87598660252d6906a.tar.gz glibc-c27d2078135ca3df129850f87598660252d6906a.tar.bz2 glibc-c27d2078135ca3df129850f87598660252d6906a.zip |
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and
UTIME_OMIT.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMENSAT.
* io/sys/stat.h: Declare utimensat, futimens.
* io/utimensat.c: New file.
* io/futimens.c: New file.
* sysdeps/unix/sysv/linux/utimensat.c: New file.
* sysdeps/unix/sysv/linux/futimens.c: New file.
* io/Makefile (routines): Add utimensat, futimens.
* io/Versions: Add utimensat, futimens to GLIBC_2.6.
* sysdeps/unix/sysv/linux/lutimes.c: New file.
* sysdeps/unix/sysv/linux/futimes.c: Use utimensat syscall if
available.
* include/sys/cdefs.h: Redefine __nonnull so that test for
incorrect parameters in the libc code itself are not omitted.
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390/bits')
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/bits/stat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/bits/stat.h b/sysdeps/unix/sysv/linux/s390/bits/stat.h index c8ff532d49..00fcf078ba 100644 --- a/sysdeps/unix/sysv/linux/s390/bits/stat.h +++ b/sysdeps/unix/sysv/linux/s390/bits/stat.h @@ -254,3 +254,9 @@ struct stat64 #define __S_IREAD 0400 /* Read by owner. */ #define __S_IWRITE 0200 /* Write by owner. */ #define __S_IEXEC 0100 /* Execute by owner. */ + +#if defined __USE_ATFILE || defined __USE_GNU +/* XXX This will change to the macro for the next 2008 POSIX revision. */ +# define UTIME_NOW ((1l << 30) - 1l) +# define UTIME_OMIT ((1l << 30) - 2l) +#endif |