ObjFW  Diff

Differences From Artifact [0526f78e96]:

To Artifact [1cab20f522]:


310
311
312
313
314
315
316
317
318
319
320
321
322
323


324
325
326
327





328
329
330
331
332
333
334

	return self;
}

- (instancetype)initWithURL: (OFURL *)URL
		       mode: (OFString *)mode
{
	@try {
		void *pool = objc_autoreleasePoolPush();

		self = [self initWithPath: [URL fileSystemRepresentation]
				     mode: mode];

		objc_autoreleasePoolPop(pool);


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






	return self;
}

- (instancetype)initWithHandle: (of_file_handle_t)handle
{
	self = [super init];







<
|
<
|
<

<
>
>




>
>
>
>
>







310
311
312
313
314
315
316

317

318

319

320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337

	return self;
}

- (instancetype)initWithURL: (OFURL *)URL
		       mode: (OFString *)mode
{

	void *pool = objc_autoreleasePoolPush();

	OFString *fileSystemRepresentation;



	@try {
		fileSystemRepresentation = [URL fileSystemRepresentation];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	self = [self initWithPath: fileSystemRepresentation
			     mode: mode];

	objc_autoreleasePoolPop(pool);

	return self;
}

- (instancetype)initWithHandle: (of_file_handle_t)handle
{
	self = [super init];