This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use XSTAT_IS_XSTAT64 in generic xstat functions

Ping.  I double checked this patch and did a alpha build with the script to make sure it did not have the same
problem that my [f]statfs patch had on that target.

Steve Ellcey

On Mon, 2016-11-21 at 11:21 -0800, Steve Ellcey wrote:
> Here is a new version of my patch to use XSTAT_IS_XSTAT64 in generic 32
> bit xstat routines.  This is needed for the aarch64 ILP32 work where
> the xstat and xstat64 routines can be aliased.  This patch uses #if's
> instead of #ifdef's since my earlier patch defined XSTAT_IS_XSTAT64 to
> 0 or 1 in all of the kernel_stat.h header files.
> Tested on x86 and aarch64.  OK to checkin?
> Steve Ellcey
> 2016-11-21  Yury Norov  <>
>             Steve Ellcey  <>
>         * 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]