Compiling without linuxthreads broken

Andreas Jaeger aj@suse.de
Thu Jun 8 09:30:00 GMT 2000


>>>>> Kaz Kylheku writes:

Kaz> On 8 Jun 2000, Andreas Jaeger wrote:
>> stdio-lock.h is not included if we compile without linuxthreads.
>> Should we just add an 
>> #ifdef _IO_MTSAFE_IO in _IO_list_lock etc?

Kaz> Already, list_all_lock is used elsewhere in genops.c without problems, because
Kaz> it is wrapped in #ifdef _IO_MTSAFE_IO. Failing to do the same wrapping in these
Kaz> new functions is a regrettable oversight on my part.  It's makes sense for new
Kaz> these locking functions to do nothing if the library is compiled without MT
Kaz> suport, but to still be there.


I've added a patch which does exactly this.  Have a look at the CVS
archive.

Thanks for the confirmation,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de


More information about the Libc-alpha mailing list