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

J. Johnston jjohnstn@redhat.com
Fri Mar 7 19:26:00 GMT 2003


Ok to commit once you change the _off64_t references.

-- Jeff J.

Corinna Vinschen wrote:
> 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
> 




More information about the Newlib mailing list