discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug with Archiving/Unarchiving in NSValue


From: Richard Frith-Macdonald
Subject: Re: Bug with Archiving/Unarchiving in NSValue
Date: Tue, 26 Feb 2002 16:37:19 +0000

On Tuesday, February 26, 2002, at 04:22 PM, Gerrit Van Dyk wrote:

Hi,

I am experiencing problems with the current Archiving/Unarchiving of
NSValue. The current implementation of NSValue's archiving is version 2.
When I archive an NSValue it actually archives a GSValue. The archiving code of GSValue.m is still the same as the archiving code of cvs version 1.28 of
NSValue which is the same as version 1 of NSValue's arhiving. When I now
want to unarchive the GSValue it expects a version 2 coding where it
actually finds version 1 coding.

I am sure that this is a bug, I think GSValue.m's encodeWithCoder should be the same as NSValue.m's encodeWithCoder, at least for the encoding method
calls.

It is effectively ... it's the class versioning that was out of sync.

Hope this makes sense.

I've just committed a change which I think should fix this ... please let me know.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]