diff options
author | Steve Ellcey <sellcey@caviumnetworks.com> | 2016-11-29 08:06:47 -0800 |
---|---|---|
committer | Steve Ellcey <sellcey@caviumnetworks.com> | 2016-11-29 08:06:47 -0800 |
commit | a09411756fd935482a81e99dc3f3eae99843d012 (patch) | |
tree | a7397cebbee298c29253ddec193239d020e53365 /sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c | |
parent | b36528936449d2e800db8833869d108a20653c96 (diff) | |
download | glibc-a09411756fd935482a81e99dc3f3eae99843d012.tar.gz glibc-a09411756fd935482a81e99dc3f3eae99843d012.tar.xz glibc-a09411756fd935482a81e99dc3f3eae99843d012.zip |
Use XSTAT_IS_XSTAT64 in generic xstat functions
* sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define fxstat if XSTAT_IS_XSTAT64 is set to non-zero. * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for fxstatat. * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for lxstat. * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat. * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file. * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file. * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero. * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for __xstat.
Diffstat (limited to 'sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c index dc7f934908..aaed6dbabf 100644 --- a/sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c @@ -26,6 +26,7 @@ #include <sysdep.h> #include <sys/syscall.h> +#if !XSTAT_IS_XSTAT64 #include "overflow.h" /* Get information about the file NAME in BUF. */ @@ -42,3 +43,4 @@ __fxstatat (int vers, int fd, const char *file, struct stat *buf, int flag) return -1; } libc_hidden_def (__fxstatat) +#endif |