This is the mail archive of the libc-alpha@sourceware.org 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] Allow [f]statfs64 to alias [f]statfs


On Nov 21 2016, Steve Ellcey <sellcey@caviumnetworks.com> wrote:

> 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
>
> 	* sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
> 	and __fstatfs.  Make them aliases of __fstatfs64 if
> 	STATFS_IS_STATFS64 is set to non-zero.
> 	* sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
> 	and __statfs64.
> 	* sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
> 	define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
> 	* sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
> 	for __statfs and statfs.
> 	* sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
> 	to 0.
> 	* sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
> 	* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
> 	* sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
> 	* sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
> 	* sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
> 	* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
> 	* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
> 	* sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
> 	* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
> 	* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
> 	* sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
> 	* sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.

Ok.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


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