Niels Poppe <[EMAIL PROTECTED]>:
> Observing openssl
> libraries linked against glibc-2.0.7 I see the following:
> compiling with -D_REENTRANT -DTHREADS generates symbol U
> __errno_location
> compiling without these generates symbol U errno
Funny, that's different on my Debian GNU/Linux 2.1 x86 system also
with glibc-2.0.7. <errno.h> includes <errnos.h>, which defines the
errno macro.
$ cat a.c
#include <errno.h>
int main(){
open("no.such.file", 0);
printf("errno=%i &errno=%p\n", errno, &errno);
return 0;
}
$ gcc a.c
$ nm a.out | fgrep errno
U __errno_location
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]