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

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

index d784564cf40ffc8cb239b7f6114a57d27a062ff5..58bfada3cda350f439d7ecf475886e31816bf0ed 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-06  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (fallocate): Fix types
+       of last two arguments when -D_FILE_OFFSET_BITS=64.
+
 2009-11-04  Philip Blundell  <philb@gnu.org>
 
        * sysdeps/unix/sysv/linux/arm/clone.S: Support V4T interworking.
index e5e70aab4cfb3a14216119e29650c23119c5a3fd..6388904852500581ff263c328073e9334159786a 100644 (file)
@@ -259,8 +259,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