Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2201 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1997-03-03 19:43:25 +00:00
parent c03261dd56
commit af908b993e
16 changed files with 920 additions and 983 deletions

View file

@ -25,6 +25,7 @@
#include <Foundation/NSAutoreleasePool.h>
#include <Foundation/NSException.h>
#include <Foundation/NSThread.h>
#include <Foundation/NSZone.h>
#include <limits.h>
/* TODO:
@ -299,7 +300,7 @@ pop_pool_from_cache (struct autorelease_thread_vars *tv)
for (i = 0; i < released->count; i++)
{
id anObject = released->objects[i];
if (object_get_class(anObject) == (void*) 0xdeadface)
if (!NSZoneMemInUse(anObject))
[NSException
raise: NSGenericException
format: @"Autoreleasing deallocated object.\n"