bugGNUstep - Bugs: bug #17426, Archiver results different for...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #17426: Archiver results different for NSNumber on Mac and GNUstep

Submitted by:  Gregory John Casamento <gcasa>
Submitted on:  Mon 14 Aug 2006 04:20:42 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri 30 Jan 2009 07:27:19 PM UTC, comment #3:

I think this is fixed or our nib support wouldn't work.

Richard Frith-Macdonald <CaS>
Project Member
Mon 14 Aug 2006 07:29:54 AM UTC, comment #2:

Probably ok in svn now.
Would be nice to know exactly how MacOS-X decides which objects to encode directly as prtoperty list values though ... the current guess is any object whose classForKeyedArchiver method returns a property list class other than an array or dictionary (guessing that containers may want to be encoded differently)

Richard Frith-Macdonald <CaS>
Project Member
Mon 14 Aug 2006 04:25:25 AM UTC, comment #1:

Cocoa and GNUstep produce different results when archiving an NSNumber. The attached files illustrate the problem succinctly.

In the archive there are two files archiver_gs.dat and archiver_mac.dat. They show the same program archiving the same NS Number, but with two vastly differing results.

I discovered this while working on nib compatibility.
(Apologies for the blank summary, I hit enter by accident after typing it.)

Gregory John Casamento <gcasa>
Project Administrator
Mon 14 Aug 2006 04:20:42 AM UTC, original submission:
Gregory John Casamento <gcasa>
Project Administrator

 

Attached Files
file #10532:  ArchiverTest.tgz added by gcasa (11KiB - application/x-gtar - Archiver test... minimal test to show the issue.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 30 Jan 2009 07:27:19 PM UTCCaSOpen/ClosedIn Test=>Closed
    Mon 14 Aug 2006 07:29:54 AM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>In Test
    Mon 14 Aug 2006 04:25:25 AM UTCgcasaAttached File-=>Added ArchiverTest.tgz, #10532

    Back to the top


    Powered by Savane 3.1-cleanup1