Use XSTAT_IS_XSTAT64 in generic xstat functions
authorSteve Ellcey <sellcey@caviumnetworks.com>
Tue, 29 Nov 2016 16:06:47 +0000 (08:06 -0800)
committerSteve Ellcey <sellcey@caviumnetworks.com>
Tue, 29 Nov 2016 16:06:47 +0000 (08:06 -0800)
commita09411756fd935482a81e99dc3f3eae99843d012
treea7397cebbee298c29253ddec193239d020e53365
parentb36528936449d2e800db8833869d108a20653c96
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.
ChangeLog
sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c
sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c
sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c
sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c
sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c
sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c