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

[commits] r2270 - in /fsf/trunk/ports: ChangeLog.mips sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c



Author: eglibc
Date: Thu May 24 09:26:52 2007
New Revision: 2270

Log:
Import glibc-ports-mainline for 2007-05-24

Modified:
    fsf/trunk/ports/ChangeLog.mips
    fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c

Modified: fsf/trunk/ports/ChangeLog.mips
==============================================================================
--- fsf/trunk/ports/ChangeLog.mips (original)
+++ fsf/trunk/ports/ChangeLog.mips Thu May 24 09:26:52 2007
@@ -1,3 +1,8 @@
+2007-05-24  Atsushi Nemoto  <anemo@xxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
+	(posix_fadvise): Fix high word of len argument.
+
 2007-05-23  Atsushi Nemoto  <anemo@xxxxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c Thu May 24 09:26:52 2007
@@ -31,7 +31,7 @@
   INTERNAL_SYSCALL_DECL (err);
   int ret = INTERNAL_SYSCALL (fadvise64, err, 7, fd, 0,
 			      __LONG_LONG_PAIR (offset >> 31, offset),
-			      __LONG_LONG_PAIR (offset >> 31, len),
+			      __LONG_LONG_PAIR (len >> 31, len),
 			      advise);
   if (INTERNAL_SYSCALL_ERROR_P (ret, err))
     return INTERNAL_SYSCALL_ERRNO (ret, err);