Differences From Artifact [7d64a7fa27]:
- File src/OFFileIRIHandler.m — part of check-in [b66e682fc6] at 2024-03-03 23:34:35 on branch trunk — OFFileIRIHandler: Correctly transform exception (user: js, size: 41862) [annotate] [blame] [check-ins using] [more...]
To Artifact [75eba519f2]:
- File src/OFFileIRIHandler.m — part of check-in [150b8f07af] at 2024-03-17 08:56:05 on branch trunk — OFFileManagerTests: Add more tests (user: js, size: 41910) [annotate] [blame] [check-ins using]
︙ | |||
161 162 163 164 165 166 167 168 169 170 171 172 173 174 | 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | + + | switch (GetLastError()) { case ERROR_FILE_NOT_FOUND: case ERROR_PATH_NOT_FOUND: case ERROR_NO_MORE_FILES: return ENOENT; case ERROR_ACCESS_DENIED: return EACCES; case ERROR_PRIVILEGE_NOT_HELD: return EPERM; case ERROR_DIRECTORY: return ENOTDIR; case ERROR_NOT_READY: return EBUSY; default: return EIO; } |
︙ |