ObjFW  Check-in [d502e741c4]

Overview
Comment:OFURLHandler_file: Fix a typo
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d502e741c470f0a6df8aa6b63fe7b685fe48a0b77b35f8752df2b1d18975f7b2
User & Date: js on 2018-05-20 11:33:54
Other Links: manifest | tags
Context
2018-05-20
11:47
configure: Remove obsolete hacks for amiga-gcc check-in: ed33226276 user: js tags: trunk
11:33
OFURLHandler_file: Fix a typo check-in: d502e741c4 user: js tags: trunk
10:30
runtime/linklib: Fix a typo check-in: 46a4547451 user: js tags: trunk
Changes

Modified src/OFURLHandler_file.m from [cf54856e03] to [63f397cc49].

1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
				     errNo: errno];
#elif defined(OF_AMIGAOS)
	of_string_encoding_t encoding = [OFLocalization encoding];

	if (!Rename([[source fileSystemRepresentation]
	    cStringWithEncoding: encoding],
	    [[destination fileSystemRepresentation]
	    cStringWithEncoding: encoding]) != 0) {
		int errNo;

		switch (IoErr()) {
		case ERROR_RENAME_ACROSS_DEVICES:
			errNo = EXDEV;
			break;
		case ERROR_OBJECT_IN_USE:







|







1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
				     errNo: errno];
#elif defined(OF_AMIGAOS)
	of_string_encoding_t encoding = [OFLocalization encoding];

	if (!Rename([[source fileSystemRepresentation]
	    cStringWithEncoding: encoding],
	    [[destination fileSystemRepresentation]
	    cStringWithEncoding: encoding])) {
		int errNo;

		switch (IoErr()) {
		case ERROR_RENAME_ACROSS_DEVICES:
			errNo = EXDEV;
			break;
		case ERROR_OBJECT_IN_USE: