Re: -DREENTRANT

1999-04-28 Thread Bodo Moeller
On Wed, Apr 28, 1999 at 12:27:49PM +0200, Niels Poppe wrote: Ulrich Drepper wrote: [EMAIL PROTECTED] (Bodo Moeller) writes: Turns out that the Linux-specific parts of glibc 2.1 doesn't pay attention to the standards in the first place and _always_ defines errno to be that macro. So, unless

Re: -DREENTRANT

1999-04-26 Thread Bodo Moeller
On Sun, Apr 25, 1999 at 02:38:48PM +0200, Ralf S. Engelschall 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

Re: -DREENTRANT

1999-04-26 Thread Bodo Moeller
Bodo Moeller [EMAIL PROTECTED]: 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? Well, at least for Linux (with glibc 2) and for Solaris I am pretty sure that