Archiving fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12782 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-02-26 16:35:57 +00:00
parent cec572fa70
commit b20e127590
2 changed files with 16 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTemplateValue.m: Implement initialize method to set the
version of concrete classes to be that of the abstract class which
actually performs encoding/decoding ... should correct archiving.
Problem reported by Gerrit Van Dyk
2002-02-26 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSUnarchiver.m
@ -5,7 +12,7 @@
([NSUnarchiver -classNameDecodedForArchiveClassName:]):
return nil if the class name is not present.
2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTcpPort.m: Fixes to work on mingw.
* Source/NSHost.m: Update for current winsock on mingw.

View file

@ -91,6 +91,14 @@
@implementation GSTemplateValue
+ (void) initialize
{
/*
* Ensure that the version encoded is that used by the abstract class.
*/
[self setVersion: [super version]];
}
// Allocating and Initializing
- (id) initWithBytes: (const void *)value