Differences From Artifact [39fecea33b]:
- File src/OFURLHandler_file.m — part of check-in [698a1b8b13] at 2018-08-25 18:58:24 on branch trunk — OFFileManager: Make sure the FS is initialized (user: js, size: 30299) [annotate] [blame] [check-ins using]
To Artifact [076074cb30]:
- File
src/OFURLHandler_file.m
— part of check-in
[66238960cb]
at
2018-08-25 19:04:40
on branch trunk
— Do not use lstat() on Wii
lstat() exists, but just crashes. (user: js, size: 30319) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
229 230 231 232 233 234 235 | #endif } static int of_lstat(OFString *path, of_stat_t *buffer) { #if defined(HAVE_LSTAT) && !defined(OF_WINDOWS) && !defined(OF_AMIGAOS) && \ | | | 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 | #endif } static int of_lstat(OFString *path, of_stat_t *buffer) { #if defined(HAVE_LSTAT) && !defined(OF_WINDOWS) && !defined(OF_AMIGAOS) && \ !defined(OF_NINTENDO_3DS) && !defined(OF_WII) # ifdef OF_HAVE_OFF64_T return lstat64([path cStringWithEncoding: [OFLocale encoding]], buffer); # else return lstat([path cStringWithEncoding: [OFLocale encoding]], buffer); # endif #else return of_stat(path, buffer); |
︙ | ︙ |