ObjFW  Check-in [fc7f20ff34]

Overview
Comment:OFFileManager: Use EINVAL instead of ENOTSUP

ENOTSUP is for sockets.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: fc7f20ff3451bf277e80ac318e627b288246cbc3caa7523fc6e7834eb9cbc54e
User & Date: js on 2017-01-16 02:23:54
Other Links: manifest | tags
Context
2017-01-16
02:54
Update buildsys check-in: b6cf934c67 user: js tags: trunk
02:23
OFFileManager: Use EINVAL instead of ENOTSUP check-in: fc7f20ff34 user: js tags: trunk
01:14
configure: Fix the readdir_r check check-in: 15945db3de user: js tags: trunk
Changes

Modified src/OFFileManager.m from [acaffe06a7] to [6f389e5f28].

769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
			@throw e;
		}
#endif
	} else
		@throw [OFCopyItemFailedException
		    exceptionWithSourcePath: source
			    destinationPath: destination
				      errNo: ENOTSUP];

	objc_autoreleasePoolPop(pool);
}

- (void)moveItemAtPath: (OFString*)source
		toPath: (OFString*)destination
{







|







769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
			@throw e;
		}
#endif
	} else
		@throw [OFCopyItemFailedException
		    exceptionWithSourcePath: source
			    destinationPath: destination
				      errNo: EINVAL];

	objc_autoreleasePoolPop(pool);
}

- (void)moveItemAtPath: (OFString*)source
		toPath: (OFString*)destination
{