* Source/NSArchiver.m (-resetArchiver): Write [self systemVersion] as

the archive version instead of 0, because this is what will be stored in
the archive if -encodeRootObject: is not called.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34840 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Eric Wasylishen 2012-02-28 03:26:46 +00:00
parent 904b71e814
commit f745fa90d7
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2012-02-27 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSArchiver.m (-resetArchiver): Write [self systemVersion] as
the archive version instead of 0, because this is what will be stored in
the archive if -encodeRootObject: is not called.
2012-02-27 Eric Wasylishen <ewasylishen@gmail.com>
* SSL/configure.ac: Change test for ssl2_clear in -lssl

View file

@ -1040,7 +1040,7 @@ static Class NSMutableDataMallocClass;
*/
_startPos = [_data length];
[self serializeHeaderAt: _startPos
version: 0
version: [self systemVersion]
classes: 0
objects: 0
pointers: 0];