]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 26 May 2000 19:55:51 +0000 (19:55 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 26 May 2000 19:55:51 +0000 (19:55 +0000)
* sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
was switched.

ChangeLog
sysdeps/unix/sysv/linux/pread64.c

index 56921927a3ebbcbf2b83c60977bd2316b253279b..d18a0ccd6b740c0081699c9fa8f7647087e37918 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-05-26  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
+       was switched.
+
        * posix/Makefile (tests): Add tst-preadwrite64.
        * posix/tst-preadwrite.c: Alloc file being used also for testing
        pread64 and pwrite64.
index 628fd430fb831964b4099725d3b2de33164f4287..1bf08dc878f3d60810f041dc9bdd0cac945a91db 100644 (file)
@@ -48,13 +48,13 @@ __libc_pread64 (fd, buf, count, offset)
 
   /* First try the syscall.  */
 # if __BYTE_ORDER == __LITTLE_ENDIAN
-  result = INLINE_SYSCALL (pread, 5, fd, buf, count,
-                          (off_t) (offset >> 32),
-                          (off_t) (offset & 0xffffffff));
-# elif __BYTE_ORDER == __BIG_ENDIAN
   result = INLINE_SYSCALL (pread, 5, fd, buf, count,
                           (off_t) (offset & 0xffffffff),
                           (off_t) (offset >> 32));
+# elif __BYTE_ORDER == __BIG_ENDIAN
+  result = INLINE_SYSCALL (pread, 5, fd, buf, count,
+                          (off_t) (offset >> 32),
+                          (off_t) (offset & 0xffffffff));
 # endif
 
 # if __ASSUME_PREAD_SYSCALL == 0
This page took 0.048978 seconds and 5 git commands to generate.