git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25514 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2007-10-03 05:36:07 +00:00
parent befaf43dd6
commit ca987ee72b
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2007-10-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Fix ([-classForCoder:]) to return base class of
cluster (bug #21133)
2007-09-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Decode headers as latin1 by default if

View file

@ -1509,7 +1509,7 @@ failure:
- (void) encodeWithCoder: (NSCoder*)coder
{
if([coder allowsKeyedCoding])
if ([coder allowsKeyedCoding])
{
[coder encodeObject: self];
}
@ -1523,7 +1523,7 @@ failure:
{
id obj = nil;
if([coder allowsKeyedCoding])
if ([coder allowsKeyedCoding])
{
obj = [coder decodeObject];
}
@ -2434,7 +2434,7 @@ failure:
- (Class) classForCoder
{
return dataMalloc; /* Will not be static data when decoded. */
return NSDataAbstract;
}
/* Basic methods */
@ -3070,7 +3070,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
- (Class) classForCoder
{
return mutableDataMalloc;
return NSMutableDataAbstract;
}
- (id) copy