mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Encode archive version as number
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18983 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2a4a64c73e
commit
a207d98243
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-03-31 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSKeyedArchiver.m: Encode archive version as a number rather
|
||||
than a string.
|
||||
|
||||
2004-03-30 Willem Rein Oudshoorn <Wim.Oudshoorn@agilisys.com>
|
||||
|
||||
* Source/NSNotificationCenter.m ([-removeObserver:]): Do not raise an exception
|
||||
|
|
|
@ -745,7 +745,7 @@ static NSDictionary *makeReference(unsigned ref)
|
|||
|
||||
final = [NSMutableDictionary new];
|
||||
[final setObject: NSStringFromClass([self class]) forKey: @"$archiver"];
|
||||
[final setObject: @"100000" forKey: @"$version"];
|
||||
[final setObject: [NSNumber numberWithInt: 100000] forKey: @"$version"];
|
||||
[final setObject: _enc forKey: @"$top"];
|
||||
[final setObject: _obj forKey: @"$objects"];
|
||||
data = [NSPropertyListSerialization dataFromPropertyList: final
|
||||
|
|
Loading…
Reference in a new issue