bugGNUstep - Bugs: bug #20268, NSKeyedArchiver can't handle C...

 
 

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

bug #20268: NSKeyedArchiver can't handle C arrays

Submitted by:  Larry Campbell <lcampbel>
Submitted on:  Tue 26 Jun 2007 06:22:41 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri 30 Jan 2009 07:30:22 PM UTC, comment #2:

fixed.

Richard Frith-Macdonald <CaS>
Project Member
Tue 26 Jun 2007 07:13:09 PM UTC, comment #1:

Should be fixed in svn ... please test and let me know.

Richard Frith-Macdonald <CaS>
Project Member
Tue 26 Jun 2007 06:22:41 PM UTC, original submission:

NSKeyedArchiver raises an exception if you ask it to encode an array:

char foo[4];
[coder encodeValueOfObjCType:@encode(typeof(foo)) at:&foo];

but NSArchiver handles it fine. (Well, not optimally, as it encodes the length too, which is wasteful, but at least it works and doesn't throw an exception.)

Larry Campbell <lcampbel>

 

No files currently attached

 

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)
  • -unavailable- added by lcampbel (Submitted the item)
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 30 Jan 2009 07:30:22 PM UTCCaSOpen/ClosedIn Test=>Closed
    Tue 26 Jun 2007 07:13:09 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1