Mail Archives: djgpp-workers/2003/03/09/08:02:15
Hello.
ams AT ludd DOT luth DOT se wrote:
>
> According to Richard Dawe:
> > Index: include/unistd.h
> > ===================================================================
> > RCS file: /cvs/djgpp/djgpp/include/unistd.h,v
> > retrieving revision 1.16
> > diff -p -c -3 -r1.16 unistd.h
> ...
> > + ssize_t pwrite(int _fildes, const void *_buf, size_t _nbyte, off_t _offset);
>
> Well, that off_t is broken on files > 2GiB.
Well, that's how it's specified. The way to fix that is to support the Large
File Summit, which allows off_t to be 64-bits, when the user defines something
before including headers (IIRC _USE_LARGEFILE).
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -