This mail is an automated notification from the bugs tracker of the project: GNUstep.
/**************************************************************************/ [bugs #8385] Latest Modifications: Changes by: Fred Kiefer <[EMAIL PROTECTED]> 'Date: Sun 05/09/04 at 15:57 (GMT) What | Removed | Added --------------------------------------------------------------------------- Resolution | None | Fixed Status | Open | Closed ------------------ Additional Follow-up Comments ---------------------------- I tried to reproduce this problem with the current GNUstep code on Cygwin and it works perfectly there. Must have been fixed by some of Richard changes. /**************************************************************************/ [bugs #8385] Full Item Snapshot: URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8385> Project: GNUstep Submitted by: 0 On: Wed 03/31/04 at 10:25 Category: Base/Foundation Severity: 5 - Average Item Group: Change Request Resolution: Fixed Assigned to: None Status: Closed Summary: NSKeyedUnarchiver doesn't unarchive on Windows Original Submission: NSKeyedUnarchiver doesn't seem to unarchive on Windows. The following code id test=[NSMutableArray arrayWithObjects:@"Test", @"Keks", @"Hurz", nil]; id e = [test objectEnumerator]; id c; printf("beforen"); while(c=[e nextObject]) { printf("%sn", [c cString]); } [NSKeyedArchiver archiveRootObject:test toFile:@"test"]; test = [NSKeyedUnarchiver unarchiveObjectWithFile:@"test"]; e = [test objectEnumerator]; printf("aftern"); while(c=[e nextObject]) { printf("%sn", [c cString]); } works perfectly in OS X (with Apple's foundation library). On Windows, it doesn't. The unarchived array seems completely empty (but the program doesn't crash). Also, NSKeyedArchiver saves the "version" property as a string; it should be an integer. When I manually change that, I can unarchive the archived object from Windows on OS X. Follow-up Comments ------------------ ------------------------------------------------------- Date: Sun 05/09/04 at 15:57 By: FredKiefer I tried to reproduce this problem with the current GNUstep code on Cygwin and it works perfectly there. Must have been fixed by some of Richard changes. For detailed info, follow this link: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8385> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep