On 06/03/03: 00:47, Celestial Wizard wrote: <snip>
> Check out http://bugs.gentoo.org/show_bug.cgi?id=16267 > > There is a bug in glibc 2.3.2_pre1 where errno is not defined. > > Breaks a few apps If I understood this correctly, glibc is perfectly right in not defining errno. The C standard requires errno to be a macro that expands to a modifiable lvalue: The macro errno need not be an identifier of an object. It might expand to a modifiable lvalue resulting from a function call (for example, *errno()). [ISO/IEC 9899 section 7.5] Thus, the applications that have "extern int errno;" in their code are broken. -Alok -- Alok Singhal ([EMAIL PROTECTED]) __ PhD Student / _ University of Virginia \_O \ http://www.astro.virginia.edu/~as8ca/ __/ -- [EMAIL PROTECTED] mailing list
