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.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to