bug-gnustep
[Top][All Lists]
Advanced

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

NSZombie Bug


From: David . Ayers
Subject: NSZombie Bug
Date: Fri, 5 Apr 2002 18:10:21 +0200

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);
  }

please correct me if I'm wrong.

Dave




reply via email to

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