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

Group
 
 

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

Submitter:  Gregory John Casamento <gcasa>
Submitted:  Mon 14 Aug 2006 04:20:42 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group administrator
Mon 14 Aug 2006 04:20:42 AM UTC, original submission:  


Gregory John Casamento <gcasa>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

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
  • -email is unavailable- added by CaS (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-01-30 CaS Open/ClosedIn Test Closed
    2006-08-14 CaS StatusNone Fixed
        Open/ClosedOpen In Test
    2006-08-14 gcasa Attached File- Added ArchiverTest.tgz, #10532

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code