aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-03-20 16:51:05 +0000
committerUlrich Drepper <drepper@redhat.com>2005-03-20 16:51:05 +0000
commit65fb0d218921092f04d47db1c686951764da927b (patch)
treef667d0fac33c92cb118552062a640c4221949d59 /posix/bits
parent* sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels. (diff)
downloadglibc-65fb0d218921092f04d47db1c686951764da927b.tar.gz
glibc-65fb0d218921092f04d47db1c686951764da927b.tar.bz2
glibc-65fb0d218921092f04d47db1c686951764da927b.zip
* posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
instead of __off_t for last argument. * debug/Makefile (tests): Add tst-lfschk{1,2,3}. * debug/tst-lfschk1.c: New test. * debug/tst-lfschk2.c: New test. * debug/tst-lfschk3.c: New test. 2005-02-09 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define. * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC and __USE_XOPEN guards to match linux/bits/termios.h. * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. (CMSPAR): Define. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
Diffstat (limited to 'posix/bits')
-rw-r--r--posix/bits/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/bits/unistd.h b/posix/bits/unistd.h
index 219b0560dd..cb82818ade 100644
--- a/posix/bits/unistd.h
+++ b/posix/bits/unistd.h
@@ -58,7 +58,7 @@ pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset)
}
# else
extern __always_inline __wur ssize_t
-pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset)
+pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
{
if (__bos0 (__buf) != (size_t) -1
&& (!__builtin_constant_p (__nbytes) || __nbytes > __bos0 (__buf)))