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
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to