Differences From Artifact [35b39e789f]:
- File
src/OFURLHandler_file.m
— part of check-in
[2339bc3407]
at
2019-04-15 21:10:33
on branch trunk
— Use GetFileAttributesExW() instead of _wstat64()
Unlike _wstat64(), GetFileAttributesExW() works on drives. (user: js, size: 32344) [annotate] [blame] [check-ins using]
To Artifact [a20f05e1cc]:
- File
src/OFURLHandler_file.m
— part of check-in
[050c869a7a]
at
2019-04-16 22:15:06
on branch trunk
— OFURLHandler_file: Fix #ifdef inconsistency
This resulted in an error on 3DS / DS / Wii and Amiga. (user: js, size: 32371) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
618 619 620 621 622 623 624 | setTypeAttribute(ret, &s); [ret setObject: [NSNumber numberWithUInt16: s.st_mode & 07777] forKey: of_file_attribute_key_posix_permissions]; setOwnerAndGroupAttributes(ret, &s); setDateAttributes(ret, &s); | | > | 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 | setTypeAttribute(ret, &s); [ret setObject: [NSNumber numberWithUInt16: s.st_mode & 07777] forKey: of_file_attribute_key_posix_permissions]; setOwnerAndGroupAttributes(ret, &s); setDateAttributes(ret, &s); #ifdef OF_FILE_MANAGER_SUPPORTS_SYMLINKS if (S_ISLNK(s.st_mode)) setSymbolicLinkDestinationAttribute(ret, URL); #endif objc_autoreleasePoolPop(pool); return ret; |
︙ | ︙ |