mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
Fix M68K fallocate for -D_FILE_OFFSET_BITS=64.
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (fallocate): Fix types of last two arguments when -D_FILE_OFFSET_BITS=64.
This commit is contained in:
parent
86ad0d12e1
commit
1789cafb57
@ -1,3 +1,8 @@
|
|||||||
|
2009-11-07 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (fallocate): Fix types
|
||||||
|
of last two arguments when -D_FILE_OFFSET_BITS=64.
|
||||||
|
|
||||||
2009-10-30 Joseph Myers <joseph@codesourcery.com>
|
2009-10-30 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
[BZ #10609]
|
[BZ #10609]
|
||||||
|
@ -239,8 +239,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);
|
extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len);
|
||||||
# else
|
# else
|
||||||
# ifdef __REDIRECT
|
# ifdef __REDIRECT
|
||||||
extern int __REDIRECT (fallocate, (int __fd, int __mode, __off_t __offset,
|
extern int __REDIRECT (fallocate, (int __fd, int __mode, __off64_t __offset,
|
||||||
__off_t __len),
|
__off64_t __len),
|
||||||
fallocate64);
|
fallocate64);
|
||||||
# else
|
# else
|
||||||
# define fallocate fallocate64
|
# define fallocate fallocate64
|
||||||
|
Loading…
Reference in New Issue
Block a user