ObjFW  Diff

Differences From Artifact [7ed0f15d3e]:

To Artifact [b67377ac42]:


53
54
55
56
57
58
59
60

61
62
63
64
65
66
67
}

- initWithStream: (OF_KINDOF(OFStream *))stream
{
	self = [super init];

	@try {
		_archive = [[OFTarArchive alloc] initWithStream: stream];

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

	return self;
}







|
>







53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
}

- initWithStream: (OF_KINDOF(OFStream *))stream
{
	self = [super init];

	@try {
		_archive = [[OFTarArchive alloc] initWithStream: stream
							   mode: @"r"];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}