bug-gnustep
[Top][All Lists]
Advanced

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

Re: NSZombie Bug


From: Richard Frith-Macdonald
Subject: Re: NSZombie Bug
Date: Fri, 5 Apr 2002 18:28:08 +0100

On Friday, April 5, 2002, at 05:10 PM, David.Ayers@brainag.com wrote:


Hello,

For reasons beyond the scope of any explination, I still don't have a
running GNUStep system, but browsing through the NSZombie changes if found
something very odd:

NSObject.m:

in GSMakeZombie and GSLogZombie

if (allocationLock == 0)
  {
    objc_mutex_lock(allocationLock);
  }
and
if (allocationLock == 0)
  {
    objc_mutex_unlock(allocationLock);
  }

which (IMHO) should be

if (allocationLock != 0)
  {
    objc_mutex_lock(allocationLock);
  }
and
if (allocationLock != 0)
  {
    objc_mutex_unlock(allocationLock);
  }



Thanks ... fixed.




reply via email to

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