ObjFW  Check-in [a2711b2a01]

Overview
Comment:OFFileManager: Fix wrong #else
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a2711b2a0114dc958d3fcdee786574d7723494c52fcc9caa11f72f307f40f5eb
User & Date: js on 2017-05-21 19:40:44
Other Links: manifest | tags
Context
2017-05-21
20:03
Cast several socket-related arguments to void * check-in: c658e97994 user: js tags: trunk
19:40
OFFileManager: Fix wrong #else check-in: a2711b2a01 user: js tags: trunk
2017-05-17
22:27
PLATFORMS.md: Add MorphOS check-in: b128c261c9 user: js tags: trunk
Changes

Modified src/OFFileManager.m from [f4973b705b] to [54d3223c13].

923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
		@throw [OFLinkFailedException
		    exceptionWithSourcePath: source
			    destinationPath: destination
				      errNo: errno];

	objc_autoreleasePoolPop(pool);
}
#else
- (void)linkItemAtPath: (OFString *)source
		toPath: (OFString *)destination
{
	void *pool;

	if (source == nil || destination == nil)
		@throw [OFInvalidArgumentException exception];







|







923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
		@throw [OFLinkFailedException
		    exceptionWithSourcePath: source
			    destinationPath: destination
				      errNo: errno];

	objc_autoreleasePoolPop(pool);
}
#elif defined(OF_WINDOWS)
- (void)linkItemAtPath: (OFString *)source
		toPath: (OFString *)destination
{
	void *pool;

	if (source == nil || destination == nil)
		@throw [OFInvalidArgumentException exception];