bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] fix typo in lib/lock.c (fixes compilation on Darwin)


From: Bruno Haible
Subject: Re: [PATCH] fix typo in lib/lock.c (fixes compilation on Darwin)
Date: Thu, 7 Aug 2008 23:54:39 +0200
User-agent: KMail/1.5.4

Paolo Bonzini wrote:
> glthread_recursive_lock_init_multithreaded has a typo that makes it not 
> compile on Darwin.  Fixed thusly

Thanks. My mistake.

> (but the code for recursive locks seems 
> half-cooked, as the two branches of the #if have the same code).

It's not the same: In the #else case, lock->initialized is set to 1.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]