Overview
Comment: | OFFileManager: Fix wrong exception |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
ffcd588fc429e9451c7f1aa21ab84501 |
User & Date: | js on 2017-06-10 22:54:44 |
Other Links: | manifest | tags |
Context
2017-06-11
| ||
00:55 | Revert ea28728a check-in: f1f934186e user: js tags: trunk | |
2017-06-10
| ||
22:54 | OFFileManager: Fix wrong exception check-in: ffcd588fc4 user: js tags: trunk | |
22:20 | OFFileManager: More use of native APIs on MorphOS check-in: 749855ed2b user: js tags: trunk | |
Changes
Modified src/OFFileManager.m from [0288fa6217] to [5c318ce949].
︙ | ︙ | |||
1001 1002 1003 1004 1005 1006 1007 | if (source == nil || destination == nil) @throw [OFInvalidArgumentException exception]; pool = objc_autoreleasePoolPush(); if (of_lstat(destination, &s) == 0) | | | 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 | if (source == nil || destination == nil) @throw [OFInvalidArgumentException exception]; pool = objc_autoreleasePoolPush(); if (of_lstat(destination, &s) == 0) @throw [OFMoveItemFailedException exceptionWithSourcePath: source destinationPath: destination errNo: EEXIST]; #ifndef OF_WINDOWS of_string_encoding_t encoding = [OFLocalization encoding]; |
︙ | ︙ |