From 6b12a75c4e16bb08789cc2f08d6c8d86fb5004ef Mon Sep 17 00:00:00 2001 From: mccallum Date: Tue, 23 Jan 1996 22:55:55 +0000 Subject: [PATCH] Changes to comments. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@771 72102866-910b-0410-8b05-ffd578937521 --- Source/NSArchiver.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/NSArchiver.m b/Source/NSArchiver.m index baba4ddb1..440212030 100644 --- a/Source/NSArchiver.m +++ b/Source/NSArchiver.m @@ -1,5 +1,5 @@ /* archiving class for serialization and persistance. - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1996 Free Software Foundation, Inc. Written by: R. Andrew McCallum Date: March 1995 @@ -59,7 +59,6 @@ static Class NSArchiver_concrete_class; + (NSData*) archivedDataWithRootObject: (id)rootObject { - /* xxx a quick kludge implementation */ id d = [[NSMutableData alloc] init]; id a = [[NSArchiver alloc] initForWritingWithMutableData:d]; [a encodeRootObject:rootObject]; @@ -68,7 +67,7 @@ static Class NSArchiver_concrete_class; + (BOOL) archiveRootObject: (id)rootObject toFile: (NSString*)path { - /* xxx a quick kludge implementation */ + /* xxx fix this return value */ id d = [self archivedDataWithRootObject:rootObject]; [d writeToFile:path atomically:NO]; return YES;