[PATCH] Cygwin specific changes to allow 64bit file access [was Re: [PATCH] lseek64r.c: Change off64_t to __off64_t]

Corinna Vinschen vinschen@redhat.com
Fri Mar 7 16:54:00 GMT 2003

On Fri, Mar 07, 2003 at 11:32:33AM -0500, J. Johnston wrote:
> A couple of comments.
> You should be using _off64_t instead of __off64_t for the lseek64r.c code
> so as to be consistent with its callers and to support multiple platforms.

Yes, you're right and that was what I originally intended.  Sorry.

> Why are you #ifdefing out the prototypes of the 64-bit functions?

These function's will never exist on Cygwin.  We will map calls to
fopen() to the function fopen64() but the function fopen64() itself
will not be exported by Cygwin.


Corinna Vinschen
Cygwin Developer
Red Hat, Inc.

More information about the Newlib mailing list