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

Ronald Wahl rwa at peppercon.com
Wed Jul 3 14:24:30 UTC 2002


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:

        http://www.peppercon.de/~rwa/pread_pwrite.patch

I dunno if this is the correct way, but it works for me. Glibc uses a
wrapper too.

ron

-- 
\\      Dipl.-Inf. Ronald Wahl   |   Peppercon AG                  //
 \\\         rwa at peppercon.com  |||  http://www.peppercon.com/   /// 
  \OO  -----------------------  OOO  -------------------------  OO/ 
   OO  GnuPG/PGP key available  OOO  Keep Systems running       OO



More information about the uClibc mailing list