ObjFW  Diff

Differences From Artifact [cd4c802a1e]:

To Artifact [4c3a4649ab]:


48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
	return self;
}

#ifdef OF_HAVE_FILES
- initWithPath: (OFString *)path
{
	OFFile *file = [[OFFile alloc] initWithPath: path
					       mode: @"rb"];
	@try {
		self = [self initWithStream: file];
	} @finally {
		[file release];
	}

	return self;







|







48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
	return self;
}

#ifdef OF_HAVE_FILES
- initWithPath: (OFString *)path
{
	OFFile *file = [[OFFile alloc] initWithPath: path
					       mode: @"r"];
	@try {
		self = [self initWithStream: file];
	} @finally {
		[file release];
	}

	return self;