ObjFW  Diff

Differences From Artifact [5ce65f3f89]:

To Artifact [9a531e1b8b]:


114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
	Class c;

	self = [super init];

	if ((fp = fopen([path cString], [mode cString])) == NULL) {
		c = isa;
		[super dealloc];
		@throw [OFOpenFileFailedException newWithClass: c 
						       andPath: path
						       andMode: mode];
	}

	return self;
}








|







114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
	Class c;

	self = [super init];

	if ((fp = fopen([path cString], [mode cString])) == NULL) {
		c = isa;
		[super dealloc];
		@throw [OFOpenFileFailedException newWithClass: c
						       andPath: path
						       andMode: mode];
	}

	return self;
}