ObjFW  Diff

Differences From Artifact [ef68919153]:

To Artifact [8c89569c12]:


47
48
49
50
51
52
53
54
55
56
57
58


59
60
61
62
63
64
65
66
67
68
69
70
71

	return self;
}

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

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


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

	return self;
}
#endif

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







<
<
<
|
|
>
>
|
|
<

<
<







47
48
49
50
51
52
53



54
55
56
57
58
59

60


61
62
63
64
65
66
67

	return self;
}

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



	OFFile *file = [[OFFile alloc] initWithPath: path
					       mode: @"rb"];
	@try {
		return [self initWithStream: file];
	} @finally {
		[file release];

	}


}
#endif

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