[uClibc]Re: pread/pwrite broken w/o large file support

Erik Andersen andersen at codepoet.org
Mon Jul 15 10:48:15 UTC 2002


On Wed Jul 10, 2002 at 09:22:29AM -0700, ken restivo wrote:
> Thanks!
> 
> FWIW, pread() is also broken on SA1100 ARM (tuxscreen), which I
> found out a few months ago when using Berkeley DB. Also, it was
> broken even with LFS too (I was on 0.9.11 at the time). I
> worked around it by forcing Berkeley DB to use read() instead.

I've fixed things up now so now pread/pwrite behave as expected.
I've also added pread64/pwrite64 support.  I just verified that
Berkeley DB now compiles and runs w/o needing to do anything
wierd:

    CC=i386-uclibc-gcc ../dist/configure --prefix=/usr \
	--localstatedir=/var --sysconfdir=/etc \
	--libexecdir=/usr/sbin --mandir=/usr/share/man \
	--enable-shared=yes

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20020715/98cc68b8/attachment.pgp 


More information about the uClibc mailing list