In article <19990425120742.A5476@epsilon> you wrote:
> I think we should by default define _REENTRANT or _THREAD_SAFE or any
> other system-dependent macros that are needed to get a library that
> can be used in multi-threaded programs. (This means, for example,
> that errno is not a variable, but a macro of the form
> (*__errno_location()), which uses a thread-local errno location --
> &errno for the main thread, something different for the other ones).
> At least when the library is installed to standard locations, it
> probably can lead to very confusing results if it all depends on
> whether one used "./config -D_REENTRANT" before compiling and
> installing the library.
But doesn't -D_REENTRANT or -D_THREAD_SAFE usually also implicitly assumes
that one _links_ against the reentrant libc and this way doing only half the
way could cause problems?
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]