[nhc-bugs] Re: Cygwin Build Bug (Probably Affects other GNU GLIBC Builds)

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Thu, 24 May 2001 10:39:43 +0100


Brent Fulgham writes:
> For thread-safety reasons, the GNU C Library (2.2+) defines "errno"
> as a macro that calls a function to get the errno of the current thread.
> Consequently, the source file "src/runtime/Builtin/cIOExtras.c" needs
> to include the <errno.h> header file, rather than declaring an extern
> variable.

Thanks for the useful information.  Your suggested patch is now
listed on the nhc98 download page.

Regards,
    Malcolm