@@ -149,10 +149,12 @@ @throw e; } } @implementation OFZIPArchive +@synthesize archiveComment = _archiveComment; + + (instancetype)archiveWithSeekableStream: (OFSeekableStream*)stream { return [[[self alloc] initWithSeekableStream: stream] autorelease]; } @@ -331,16 +333,11 @@ objc_autoreleasePoolPop(pool); } - (OFArray*)entries { - OF_GETTER(_entries, true) -} - -- (OFString*)archiveComment -{ - OF_GETTER(_archiveComment, true) + return [[_entries copy] autorelease]; } - (OFStream*)streamForReadingFile: (OFString*)path { void *pool = objc_autoreleasePoolPush();