diff options
author | David McCullough <davidm@snapgear.com> | 2002-08-09 12:58:02 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2002-08-09 12:58:02 +0000 |
commit | 54e4a312a7ac8609604d922950d29f618d1cb04c (patch) | |
tree | 623097d3a64b440b1404d98480ef91b6467bee41 /test | |
parent | dad8611e7a0345c2cfa472489b36d5be79bcc6d2 (diff) |
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 ;-)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions