mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Workaround for runitme bug.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30864 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f531e36f64
commit
b417e6bf8c
3 changed files with 29 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2010-06-26 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSObject.m: Implement methods from the Object(NSObjectCompat)
|
||||
category for NSZombie. This is a workaround for what seems to be an
|
||||
objc runtime bug (that category is being added to NSZombie even though
|
||||
NSZombie is not a subclass of Object).
|
||||
|
||||
2010-06-25 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSURL.m: Implement keyed coding
|
||||
|
|
|
@ -78,7 +78,6 @@
|
|||
#import <Foundation/NSKeyedArchiver.h>
|
||||
#import <Foundation/NSKeyValueCoding.h>
|
||||
#import <Foundation/NSKeyValueObserving.h>
|
||||
#import <Foundation/NSLocale.h>
|
||||
#import <Foundation/NSLock.h>
|
||||
#import <Foundation/NSMapTable.h>
|
||||
#import <Foundation/NSMethodSignature.h>
|
||||
|
|
|
@ -2423,6 +2423,14 @@ objc_create_block_classes_as_subclasses_of(Class super) __attribute__((weak));
|
|||
{
|
||||
return (Class)isa;
|
||||
}
|
||||
- (void) dealloc
|
||||
{
|
||||
GSLogZombie(self, _cmd);
|
||||
}
|
||||
- (void) description
|
||||
{
|
||||
GSLogZombie(self, _cmd);
|
||||
}
|
||||
- (Class) originalClass
|
||||
{
|
||||
return NSMapGet(zombieMap, (void*)self);
|
||||
|
@ -2455,6 +2463,20 @@ objc_create_block_classes_as_subclasses_of(Class super) __attribute__((weak));
|
|||
[allocationLock unlock];
|
||||
return [c instanceMethodSignatureForSelector: aSelector];
|
||||
}
|
||||
- (void) release
|
||||
{
|
||||
GSLogZombie(self, _cmd);
|
||||
}
|
||||
- (BOOL) respondsToSelector: (SEL)aSel
|
||||
{
|
||||
GSLogZombie(self, _cmd);
|
||||
return NO;
|
||||
}
|
||||
- (id) retain
|
||||
{
|
||||
GSLogZombie(self, _cmd);
|
||||
return self;
|
||||
}
|
||||
@end
|
||||
|
||||
@implementation GSContentAccessingProxy
|
||||
|
|
Loading…
Reference in a new issue