ObjFW  Diff

Differences From Artifact [df3e45938b]:

To Artifact [160928f0d5]:


169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196

	return self;
}

#ifdef OF_HAVE_FILES
- initWithPath: (OFString *)path
{
	self = [super init];

	@try {
		_stream = [[OFFile alloc] initWithPath: path
						  mode: @"rb"];

		[self OF_readZIPInfo];
		[self OF_readEntries];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}
#endif

- (void)dealloc
{
	[_stream release];
	[_archiveComment release];







<
<
<
|
|
|
|
<
|
|
<

<
<







169
170
171
172
173
174
175



176
177
178
179

180
181

182


183
184
185
186
187
188
189

	return self;
}

#ifdef OF_HAVE_FILES
- initWithPath: (OFString *)path
{



	OFFile *file = [[OFFile alloc] initWithPath: path
					       mode: @"rb"];
	@try {
		return [self initWithSeekableStream: file];

	} @finally {
		[file release];

	}


}
#endif

- (void)dealloc
{
	[_stream release];
	[_archiveComment release];