This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Fix O_LARGEFILE for Linux/SPARC and s390
On 10/24/2012 06:56 PM, Andreas Schwab wrote:
Andreas Jaeger <aj@suse.com> writes:
diff --git a/sysdeps/unix/sysv/linux/s390/bits/fcntl.h
b/sysdeps/unix/sysv/linux/s390/bits/fcntl.h
index 47941c4..6f53fbc 100644
--- a/sysdeps/unix/sysv/linux/s390/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/s390/bits/fcntl.h
@@ -25,9 +25,9 @@
#ifdef __USE_LARGEFILE64
# if __WORDSIZE == 64
/* Not necessary, files are always with 64bit off_t. */
-# define O_LARGEFILE 0
+# define __O_LARGEFILE 0
# else
-# define O_LARGEFILE 0100000
+# define __O_LARGEFILE 0100000
# endif
#endif
__O_LARGEFILE should be defined unconditionally.
Yes - and that's how it looks in the current committed code,
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126