How to use __DYNAMIC_REENT__ correctly in multithreaded applications?

Corinna Vinschen vinschen@redhat.com
Sat Aug 23 18:04:00 GMT 2003


On Fri, Aug 22, 2003 at 03:05:57PM -0400, J. Johnston wrote:
> A monster patch has been checked in.  I found a problem in 
> stdio64/fseeko64.c
> using struct stat when calling _fstat64_r. I could not switch to use stat64
> as Cygwin has not defined it externally.  For now, stdio64/fseeko64.c will 
> use _fstat_r
> instead of _fstat64_r.

What about _stat64, which is defined externally.  I don't understand the
rule, in which case newlib calls foo() and in which case it calls _foo().

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Newlib mailing list