Remove redundant defines of __O_LARGEFILE
authorAndreas Jaeger <aj@suse.de>
Sat, 27 Oct 2012 11:49:30 +0000 (13:49 +0200)
committerAndreas Jaeger <aj@suse.de>
Sat, 27 Oct 2012 11:49:30 +0000 (13:49 +0200)
* 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>.

ChangeLog
ports/ChangeLog.linux-generic
ports/sysdeps/unix/sysv/linux/generic/bits/fcntl.h
sysdeps/unix/sysv/linux/s390/bits/fcntl.h
sysdeps/unix/sysv/linux/x86/bits/fcntl.h

index f02a3b6..a70fadc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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}.
index 6ee9a12..0dfb840 100644 (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
index 7ea207c..56a914b 100644 (file)
@@ -25,8 +25,6 @@
 
 #if __WORDSIZE == 64
 # define __O_LARGEFILE 0
-#else
-# define __O_LARGEFILE 0100000
 #endif
 
 struct flock
index 43eee7a..5b95878 100644 (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
index 9251e75..2bcded5 100644 (file)
@@ -22,8 +22,6 @@
 
 #ifdef __x86_64__
 # define __O_LARGEFILE 0
-#else
-# define __O_LARGEFILE 0100000
 #endif
 
 #ifdef __x86_64__