ObjFW  Diff

Differences From Artifact [24d4055b98]:

To Artifact [072b46a026]:


299
300
301
302
303
304
305
306


307
308
309
310
311
312
313
	} @finally {
		FindClose(handle);
	}

	[pool release];
#endif

	return [files makeImmutable];


}

+ (void)changeToDirectory: (OFString*)path
{
	if (chdir([path cString]))
		@throw [OFChangeDirectoryFailedException newWithClass: self
								 path: path];







|
>
>







299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
	} @finally {
		FindClose(handle);
	}

	[pool release];
#endif

	[files makeImmutable];

	return files;
}

+ (void)changeToDirectory: (OFString*)path
{
	if (chdir([path cString]))
		@throw [OFChangeDirectoryFailedException newWithClass: self
								 path: path];