[PATCH-0.9.33] common/pread_write.c: unbreak on archs without __NR_pread64

Mike Frysinger vapier at gentoo.org
Tue Oct 15 20:11:59 UTC 2013


On Friday 04 October 2013 15:41:20 Peter Korsgaard wrote:
> Some archs (avr32 in particular) still doesn't define __NR_pread64, so
> we should fall back to __NR_pread if it isn't available.
> 
> The code nicely checks for it, but then ends up hard coding the syscall
> to use __NR_pread64 afterwards, rendering the check useless. Fix it by
> using the result of the test instead.

i think you should look at all the pread/pwrite changes in master.  afaik, all 
issues are addressed there.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20131015/5e994109/attachment.asc>


More information about the uClibc mailing list