]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix MIPS fallocate for -D_FILE_OFFSET_BITS=64.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 6 Nov 2009 23:45:30 +0000 (23:45 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 6 Nov 2009 23:45:30 +0000 (23:45 +0000)
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
of last two arguments when -D_FILE_OFFSET_BITS=64.

ChangeLog.mips
sysdeps/unix/sysv/linux/mips/bits/fcntl.h

index d4afc96c8f53eb616cdc3df4ee49e7e6855f8056..e7a051811ba4b84bc521d53de2dd322b5f417605 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-06  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
+       of last two arguments when -D_FILE_OFFSET_BITS=64.
+
 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
index e451696524b42b9147ed1fbc3d06c1965d8b9d0f..88f752db6a8e058eca684c7e2e5e25d259d6b4d5 100644 (file)
@@ -272,8 +272,8 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 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