Bug#559376: Acknowledgement (pwrite64 fails to support large files in 32-bit application)
I think that this bug report is bogus. The pread/pwrite interfaces
do work with
#define _XOPEN_SOURCE 500
GraphicsMagick has not been definining _XOPEN_SOURCE since this breaks
compilation on many systems. Instead it has been providing its own
prototypes for pread and pwrite with this form:
ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset);
ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset);
which should normally be sufficient, but apparently not sufficient for
Linux.
Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Reply to: