OSDN Git Service

Patch from Atsushi Nemoto, who writes:
authorEric Andersen <andersen@codepoet.org>
Fri, 22 Aug 2003 03:05:06 +0000 (03:05 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 22 Aug 2003 03:05:06 +0000 (03:05 -0000)
commit55f313d4e2479e7edbc64c7537023f47c44a81c3
treeaf88be2144ff3b52e3b6e55de595f39b962c8267
parentf9c09888823fa659fcfe43eaa816a7a9ddbd04eb
Patch from Atsushi Nemoto, who writes:

I found that current pread/pwrite is broken on mips.

On mips, kernel needs 6 arguments for pread/pwrite system call.  (3
words for first 3 arguments + 1 padding word + 2 words for last 64bit
argument).  Also, mips64 kernel needs just 4 arguments so no wrapper
will be required.

This is a patch against 0.9.20.
libc/sysdeps/linux/mips/Makefile
libc/sysdeps/linux/mips/pread_write.c [new file with mode: 0644]