minor OSX compatibility tweak

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31847 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-01-07 09:52:20 +00:00
parent e549f7dd9f
commit 33620c771d
2 changed files with 8 additions and 4 deletions

View file

@ -156,13 +156,13 @@ static void GSLogZombie(id o, SEL sel)
}
if (c == 0)
{
NSLog(@"Deallocated object (%p) sent %@",
o, NSStringFromSelector(sel));
NSLog(@"*** -[??? %@]: message sent to deallocated instance %p",
NSStringFromSelector(sel), o);
}
else
{
NSLog(@"Deallocated %@ (%p) sent %@",
c, o, NSStringFromSelector(sel));
NSLog(@"*** -[%@ %@]: message sent to deallocated instance %p",
c, NSStringFromSelector(sel), o);
}
if (GSPrivateEnvironmentFlag("CRASH_ON_ZOMBIE", NO) == YES)
{