[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#161515: libc6 pread() does not work correctly on non-i386 platforms



Package: libc6
version: 2.2.5-11.1

References
----------
Bug 121391 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=121391
This bug has been closed eliminating the lines of code
using pread() and pwrite() (and using the alternative code
provided for systems not providing pread() and pwrite())
but it seems that the problem is in the fact that pread()
and pwrite() are broken in glibc for non-i386 architectures:
http://www.cs.helsinki.fi/linux/linux-kernel/2002-30/0486.html
http://www.cs.helsinki.fi/linux/linux-kernel/2002-30/0493.html
http://www.cs.helsinki.fi/linux/linux-kernel/2002-30/0411.html
http://www.cs.helsinki.fi/linux/linux-kernel/2002-30/0439.html
http://www.cs.helsinki.fi/linux/linux-kernel/2002-30/0469.html
And finally:
http://www.cs.helsinki.fi/linux/linux-kernel/2002-30/0559.html
where it is written that it is a glibc bug, fixed in the CVS.
(other reference: http://bugs.php.net/bug.php?id=15983)

IMHO, the fix applied in the CVS should be backported to the
libc6 package shipped with Debian Woody, to allow PHP (and maybe
also other packages) to correctly work also on non-i386 platforms
also using pread() and pwrite().

Marco Pratesi




Reply to: