ObjFW  Diff

Differences From Artifact [118e27647e]:

To Artifact [878145eec0]:


240
241
242
243
244
245
246
247


248
249
250
251
252
253
254
240
241
242
243
244
245
246

247
248
249
250
251
252
253
254
255







-
+
+








	pool = objc_autoreleasePoolPush();

	scheme = [URL scheme];

# ifdef OF_HAVE_FILES
	if ([scheme isEqual: @"file"])
		self = [self initWithContentsOfFile: [URL path]];
		self = [self initWithContentsOfFile:
		    [URL fileSystemRepresentation]];
	else
# endif
		@throw [OFUnsupportedProtocolException exceptionWithURL: URL];

	objc_autoreleasePoolPop(pool);

	return self;