URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13031>
Summary: Archive-unarchive of data objects does not work on
PowerPC
Project: GNUstep
Submitted by: None
Submitted on: Sun 05/08/2005 at 21:16
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
I'm using YellowDog Linux 3.0 with gcc-3.2.3 and GNUstep startup-0.10.2
The following sequence does not work:
NSColor * red = [NSColor redColor];
NSData * redAr = [NSArchiver archivedDataWithRootObject: red];
NSColor * redU = [NSUnarchiver unarchiveObjectWithData: redAr];
redU is not a valid NSColor object. Same story using NSFont objects. Same
story using NSKeyedArchiver. This code works under Mac OS X. This is probably
something specific to the PowerPC architecture; byte-order maybe?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13031>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep