[uClibc-cvs] cvs commit to uClibc/libc/sysdeps/linux/common by davidm
davidm at uclibc.org
davidm at uclibc.org
Fri Aug 9 12:58:03 UTC 2002
Repository: uClibc/libc/sysdeps/linux/common
who: davidm
time: Fri Aug 9 06:58:03 MDT 2002
Log Message:
pread and pwrite were broken in several ways:
* pwrite was using the write system call.
* SYSCALL_INLINE was only defined for pread and reused by pwrite
meaning pwrite did a pread :-).
* The kernel pread/pwrite interfaces always take a 64bit value. So
the libc versions must do the LONG_LONG_PAIR stuff otherwise the
pread/pwrite calls will not work.
These guys are working now for SH at least (and I can format my
DiskOnChip again ;-)
Files:
changed: pread_write.c
More information about the uClibc-cvs
mailing list