Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.
commit34df851b3364e14133b865574dbc5f2a8b88874e
authorJakub Jelinek <jakub@redhat.com>
Fri, 6 Nov 2009 17:26:31 +0000 (6 09:26 -0800)
committerUlrich Drepper <drepper@redhat.com>
Fri, 6 Nov 2009 17:26:31 +0000 (6 09:26 -0800)
tree50e308ab7bddcf32129c5ddd58db01ba71502976
parent13f6812ffb5b8ad8c343d49e0be7e5ae0d31dc8e
Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.

As reported in http://bugzilla.redhat.com/533063 , preadv/pwritev prototypes
are wrong on 32-bit arches with -D_FILE_OFFSET_BITS=64 and as I've just
found, fallocate is wrong too.
The problem is that only off_t is remapped to the 64-bit type transparently,
__off_t is not.
ChangeLog
misc/sys/uio.h
sysdeps/unix/sysv/linux/i386/bits/fcntl.h
sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
sysdeps/unix/sysv/linux/s390/bits/fcntl.h
sysdeps/unix/sysv/linux/sh/bits/fcntl.h
sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h