svn commit: trunk/uClibc/libc/sysdeps/linux/common

vapier at uclibc.org vapier at uclibc.org
Thu Jan 12 01:49:51 UTC 2006


Author: vapier
Date: 2006-01-11 17:49:22 -0800 (Wed, 11 Jan 2006)
New Revision: 13249

Log:
we dont want to truncate the offset when dealing with the syscall3 version as this will screw up some 64bit hosts

Modified:
   trunk/uClibc/libc/sysdeps/linux/common/llseek.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/llseek.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/llseek.c	2006-01-12 01:48:45 UTC (rev 13248)
+++ trunk/uClibc/libc/sysdeps/linux/common/llseek.c	2006-01-12 01:49:22 UTC (rev 13249)
@@ -53,7 +53,7 @@
 extern __off_t __lseek(int fildes, off_t offset, int whence) attribute_hidden;
 loff_t __lseek64(int fd, loff_t offset, int whence)
 {
-	return(loff_t)(__lseek(fd, (off_t) (offset & 0xffffffff), whence));
+	return(loff_t)(__lseek(fd, (off_t) (offset), whence));
 }
 #endif
 strong_alias(__lseek64,lseek64)




More information about the uClibc-cvs mailing list