[uClibc]pread/pwrite broken w/o large file support
Erik Andersen
andersen at codepoet.org
Mon Jul 15 12:18:23 UTC 2002
On Mon Jul 15, 2002 at 01:49:08PM +0200, Ronald Wahl wrote:
> On Mon, 15 Jul 2002 04:49:09 -0600, Erik Andersen wrote:
>
> > On Wed Jul 03, 2002 at 04:24:30PM +0200, Ronald Wahl wrote:
> >> Hi,
> >>
> >> I noticed that pread and pwrite are broken if large file support is
> >> disabled. These calls have a 64bit offset so the syscall must be
> >> wrapped. Patch:
>
> > Could you check today's CVS tree and verify that pread/pwrite
> > and pread64/pwrite64 are all behaving correcly for you now?
>
> At the moment I get only a undefined reference to lseek64 - maybe from
> the fake_pread/fake_pwrite...
>
> BTW, why are these compiled in if I have the real syscall?
As a fallback. But mostly since glibc seems to fallback
in a similar fashion, and I am insufficiently familiar with
the pread/pwrite support for various arches to be sure if
the fallback can be safely omitted,
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list