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
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to