Remove redundant defines of __O_LARGEFILE

* sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
	[!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
	* sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
	[__WORDSIZE != 64]: Likewise.

	* sysdeps/unix/sysv/linux/generic/bits/fcntl.h: (__O_LARGEFILE)
	[__WORDSIZE != 64]: Do not define, take value from
	<bits/fcntl-linux.h>.
This commit is contained in:
Andreas Jaeger 2012-10-27 13:49:30 +02:00
parent 54399c08c3
commit 86ebe6b133
5 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2012-10-27 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
[!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
[__WORDSIZE != 64]: Likewise.
2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
* iconvdata/tst-table.sh: Remove ${SHELL}.

View File

@ -1,3 +1,9 @@
2012-10-27 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/generic/bits/fcntl.h: (__O_LARGEFILE)
[__WORDSIZE != 64]: Do not define, take value from
<bits/fcntl-linux.h>.
2012-10-23 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/generic/bits/fcntl.h: Remove all

View File

@ -25,8 +25,6 @@
#if __WORDSIZE == 64
# define __O_LARGEFILE 0
#else
# define __O_LARGEFILE 0100000
#endif
struct flock

View File

@ -25,8 +25,6 @@
#if __WORDSIZE == 64
/* Not necessary, files are always with 64bit off_t. */
# define __O_LARGEFILE 0
#else
# define __O_LARGEFILE 0100000
#endif
#if __WORDSIZE == 64

View File

@ -22,8 +22,6 @@
#ifdef __x86_64__
# define __O_LARGEFILE 0
#else
# define __O_LARGEFILE 0100000
#endif
#ifdef __x86_64__