OSDN Git Service

Carmelo AMOROSO writes:
authorMike Frysinger <vapier@gentoo.org>
Mon, 30 Apr 2007 21:23:22 +0000 (21:23 -0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 30 Apr 2007 21:23:22 +0000 (21:23 -0000)
commitf2c7b3709620eb2b36e956f77ffa5e10a50f285c
tree5e732b94fa1d3144de7a1b234a7d1c66b1f7919b
parent086ca312f1450664bce2746085725fe144897d70
Carmelo AMOROSO writes:
running LTP test suite on uClibc-nptl for sh4 I found a bug into pread
and pwrite functions.  When the offset is negative it is not correctly
handled due to a missing shift operation, so it is passed to the
syscall as the highest unsigned positive value.
libc/sysdeps/linux/sh/pread_write.c