mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Minor tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8073 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2be7da8ea9
commit
4c6b1d6d75
4 changed files with 56 additions and 23 deletions
|
@ -2935,8 +2935,9 @@ transmute(ivars self, NSString *aString)
|
|||
{
|
||||
unsigned count;
|
||||
|
||||
NSLog(@"Warning - decoding archive containing obsolete %@ object - please delete/replace this archive", NSStringFromClass([self class]));
|
||||
RELEASE(self);
|
||||
self = (id)NSAllocateObject(GSCStringClass, 0, GSObjCZone(self));
|
||||
self = (id)NSAllocateObject(GSCStringClass, 0, NSDefaultMallocZone());
|
||||
[aCoder decodeValueOfObjCType: @encode(unsigned) at: &count];
|
||||
if (count > 0)
|
||||
{
|
||||
|
@ -2965,8 +2966,9 @@ transmute(ivars self, NSString *aString)
|
|||
{
|
||||
unsigned count;
|
||||
|
||||
NSLog(@"Warning - decoding archive containing obsolete %@ object - please delete/replace this archive", NSStringFromClass([self class]));
|
||||
RELEASE(self);
|
||||
self = (id)NSAllocateObject(GSMutableStringClass, 0, GSObjCZone(self));
|
||||
self = (id)NSAllocateObject(GSMutableStringClass, 0, NSDefaultMallocZone());
|
||||
[aCoder decodeValueOfObjCType: @encode(unsigned) at: &count];
|
||||
if (count > 0)
|
||||
{
|
||||
|
@ -2995,8 +2997,9 @@ transmute(ivars self, NSString *aString)
|
|||
{
|
||||
unsigned count;
|
||||
|
||||
NSLog(@"Warning - decoding archive containing obsolete %@ object - please delete/replace this archive", NSStringFromClass([self class]));
|
||||
RELEASE(self);
|
||||
self = (id)NSAllocateObject(GSUnicodeStringClass, 0, GSObjCZone(self));
|
||||
self = (id)NSAllocateObject(GSUnicodeStringClass, 0, NSDefaultMallocZone());
|
||||
[aCoder decodeValueOfObjCType: @encode(unsigned) at: &count];
|
||||
if (count > 0)
|
||||
{
|
||||
|
@ -3025,8 +3028,9 @@ transmute(ivars self, NSString *aString)
|
|||
{
|
||||
unsigned count;
|
||||
|
||||
NSLog(@"Warning - decoding archive containing obsolete %@ object - please delete/replace this archive", NSStringFromClass([self class]));
|
||||
RELEASE(self);
|
||||
self = (id)NSAllocateObject(GSMutableStringClass, 0, GSObjCZone(self));
|
||||
self = (id)NSAllocateObject(GSMutableStringClass, 0, NSDefaultMallocZone());
|
||||
[aCoder decodeValueOfObjCType: @encode(unsigned) at: &count];
|
||||
if (count > 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue