[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r9268 - in /fsf/glibc-2_10-branch/libc: ./ misc/sys/ sysdeps/unix/sysv/linux/i386/bits/ sysdeps/unix/sysv/linux/ia64/bits/ s...



Author: eglibc
Date: Tue Nov 17 00:07:40 2009
New Revision: 9268

Log:
Import glibc-2.10 for 2009-11-17

Modified:
    fsf/glibc-2_10-branch/libc/ChangeLog
    fsf/glibc-2_10-branch/libc/misc/sys/uio.h
    fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/i386/bits/fcntl.h
    fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
    fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
    fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
    fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/s390/bits/fcntl.h
    fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
    fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
    fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h

Modified: fsf/glibc-2_10-branch/libc/ChangeLog
==============================================================================
--- fsf/glibc-2_10-branch/libc/ChangeLog (original)
+++ fsf/glibc-2_10-branch/libc/ChangeLog Tue Nov 17 00:07:40 2009
@@ -1,3 +1,22 @@
+2009-11-03  Andreas Schwab  <schwab@xxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
+	readahead.
+
+2009-11-04  Jakub Jelinek  <jakub@xxxxxxxxxx>
+
+	* misc/sys/uio.h (preadv, pwritev): Fix type of last argument
+	when -D_FILE_OFFSET_BITS=64.
+
+	* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (fallocate): Fix types
+	of last two arguments when -D_FILE_OFFSET_BITS=64.
+	* sysdeps/unix/sysv/linux/i386/bits/fcntl.h (fallocate): Likewise.
+	* sysdeps/unix/sysv/linux/s390/bits/fcntl.h (fallocate): Likewise.
+	* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (fallocate): Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (fallocate): Likewise.
+	* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (fallocate): Likewise.
+	* sysdeps/unix/sysv/linux/sh/bits/fcntl.h (fallocate): Likewise.
+
 2009-09-05  H.J. Lu  <hongjiu.lu@xxxxxxxxx>
 
 	* configure.in: Support binutils 2.100 and 3.0.

Modified: fsf/glibc-2_10-branch/libc/misc/sys/uio.h
==============================================================================
--- fsf/glibc-2_10-branch/libc/misc/sys/uio.h (original)
+++ fsf/glibc-2_10-branch/libc/misc/sys/uio.h Tue Nov 17 00:07:40 2009
@@ -80,10 +80,10 @@
 # else
 #  ifdef __REDIRECT
 extern ssize_t __REDIRECT (preadv, (int __fd, __const struct iovec *__iovec,
-				    int __count, __off_t __offset),
+				    int __count, __off64_t __offset),
 			   preadv64) __wur;
 extern ssize_t __REDIRECT (pwritev, (int __fd, __const struct iovec *__iovec,
-				     int __count, __off_t __offset),
+				     int __count, __off64_t __offset),
 			   pwritev64) __wur;
 #  else
 #   define preadv preadv64

Modified: fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/i386/bits/fcntl.h
==============================================================================
--- fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/i386/bits/fcntl.h (original)
+++ fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/i386/bits/fcntl.h Tue Nov 17 00:07:40 2009
@@ -240,8 +240,8 @@
 extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len);
 # else
 #  ifdef __REDIRECT
-extern int __REDIRECT (fallocate, (int __fd, int __mode, __off_t __offset,
-				   __off_t __len),
+extern int __REDIRECT (fallocate, (int __fd, int __mode, __off64_t __offset,
+				   __off64_t __len),
 		       fallocate64);
 #  else
 #   define fallocate fallocate64

Modified: fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
==============================================================================
--- fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (original)
+++ fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h Tue Nov 17 00:07:40 2009
@@ -234,8 +234,8 @@
 extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len);
 # else
 #  ifdef __REDIRECT
-extern int __REDIRECT (fallocate, (int __fd, int __mode, __off_t __offset,
-				   __off_t __len),
+extern int __REDIRECT (fallocate, (int __fd, int __mode, __off64_t __offset,
+				   __off64_t __len),
 		       fallocate64);
 #  else
 #   define fallocate fallocate64

Modified: fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
==============================================================================
--- fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (original)
+++ fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h Tue Nov 17 00:07:40 2009
@@ -240,8 +240,8 @@
 extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len);
 # else
 #  ifdef __REDIRECT
-extern int __REDIRECT (fallocate, (int __fd, int __mode, __off_t __offset,
-				   __off_t __len),
+extern int __REDIRECT (fallocate, (int __fd, int __mode, __off64_t __offset,
+				   __off64_t __len),
 		       fallocate64);
 #  else
 #   define fallocate fallocate64

Modified: fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
==============================================================================
--- fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (original)
+++ fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list Tue Nov 17 00:07:40 2009
@@ -3,3 +3,6 @@
 # System calls with wrappers.
 oldgetrlimit	EXTRA	getrlimit	i:ip	__old_getrlimit	getrlimit@xxxxxxxxx
 oldsetrlimit	EXTRA	setrlimit	i:ip	__old_setrlimit	setrlimit@xxxxxxxxx
+
+# Due to 64bit alignment there is a dummy second parameter
+readahead	-	readahead	i:iiiii	__readahead	readahead

Modified: fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/s390/bits/fcntl.h
==============================================================================
--- fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/s390/bits/fcntl.h (original)
+++ fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/s390/bits/fcntl.h Tue Nov 17 00:07:40 2009
@@ -260,8 +260,8 @@
 extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len);
 # else
 #  ifdef __REDIRECT
-extern int __REDIRECT (fallocate, (int __fd, int __mode, __off_t __offset,
-				   __off_t __len),
+extern int __REDIRECT (fallocate, (int __fd, int __mode, __off64_t __offset,
+				   __off64_t __len),
 		       fallocate64);
 #  else
 #   define fallocate fallocate64

Modified: fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
==============================================================================
--- fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/sh/bits/fcntl.h (original)
+++ fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/sh/bits/fcntl.h Tue Nov 17 00:07:40 2009
@@ -240,8 +240,8 @@
 extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len);
 # else
 #  ifdef __REDIRECT
-extern int __REDIRECT (fallocate, (int __fd, int __mode, __off_t __offset,
-				   __off_t __len),
+extern int __REDIRECT (fallocate, (int __fd, int __mode, __off64_t __offset,
+				   __off64_t __len),
 		       fallocate64);
 #  else
 #   define fallocate fallocate64

Modified: fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
==============================================================================
--- fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (original)
+++ fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h Tue Nov 17 00:07:40 2009
@@ -259,8 +259,8 @@
 extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len);
 # else
 #  ifdef __REDIRECT
-extern int __REDIRECT (fallocate, (int __fd, int __mode, __off_t __offset,
-				   __off_t __len),
+extern int __REDIRECT (fallocate, (int __fd, int __mode, __off64_t __offset,
+				   __off64_t __len),
 		       fallocate64);
 #  else
 #   define fallocate fallocate64

Modified: fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h
==============================================================================
--- fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (original)
+++ fsf/glibc-2_10-branch/libc/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h Tue Nov 17 00:07:40 2009
@@ -254,8 +254,8 @@
 extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len);
 # else
 #  ifdef __REDIRECT
-extern int __REDIRECT (fallocate, (int __fd, int __mode, __off_t __offset,
-				   __off_t __len),
+extern int __REDIRECT (fallocate, (int __fd, int __mode, __off64_t __offset,
+				   __off64_t __len),
 		       fallocate64);
 #  else
 #   define fallocate fallocate64