Differences From Artifact [94bc38aa32]:
- File
src/OFFileURLHandler.m
— part of check-in
[137dc2107d]
at
2020-06-16 21:46:53
on branch trunk
— Don't use utimes() on AmigaOS
It's not available on MorphOS and the implementation in libnix for
AmigaOS has incomplete error handling. (user: js, size: 36567) [annotate] [blame] [check-ins using] [more...]
To Artifact [b404d9c716]:
- File src/OFFileURLHandler.m — part of check-in [b6cb3addd0] at 2020-06-28 15:03:23 on branch trunk — Use OF_DIRECT(_MEMBERS) where appropriate (user: js, size: 36597) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
640 641 642 643 644 645 646 | return ret; } - (void)of_setLastAccessDate: (OFDate *)lastAccessDate andModificationDate: (OFDate *)modificationDate ofItemAtURL: (OFURL *)URL | | | 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 | return ret; } - (void)of_setLastAccessDate: (OFDate *)lastAccessDate andModificationDate: (OFDate *)modificationDate ofItemAtURL: (OFURL *)URL attributes: (of_file_attributes_t)attributes OF_DIRECT { OFString *path = URL.fileSystemRepresentation; of_file_attribute_key_t attributeKey = (modificationDate != nil ? of_file_attribute_key_modification_date : of_file_attribute_key_last_access_date); if (lastAccessDate == nil) |
︙ | ︙ | |||
753 754 755 756 757 758 759 | failedAttribute: attributeKey errNo: errno]; #endif } - (void)of_setPOSIXPermissions: (OFNumber *)permissions ofItemAtURL: (OFURL *)URL | | | 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 | failedAttribute: attributeKey errNo: errno]; #endif } - (void)of_setPOSIXPermissions: (OFNumber *)permissions ofItemAtURL: (OFURL *)URL attributes: (of_file_attributes_t)attributes OF_DIRECT { #ifdef OF_FILE_MANAGER_SUPPORTS_PERMISSIONS uint16_t mode = permissions.uInt16Value & 0777; OFString *path = URL.fileSystemRepresentation; int status; # ifdef OF_WINDOWS |
︙ | ︙ | |||
783 784 785 786 787 788 789 | #endif } - (void)of_setOwner: (OFString *)owner andGroup: (OFString *)group ofItemAtURL: (OFURL *)URL attributeKey: (of_file_attribute_key_t)attributeKey | | | 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 | #endif } - (void)of_setOwner: (OFString *)owner andGroup: (OFString *)group ofItemAtURL: (OFURL *)URL attributeKey: (of_file_attribute_key_t)attributeKey attributes: (of_file_attributes_t)attributes OF_DIRECT { #ifdef OF_FILE_MANAGER_SUPPORTS_OWNER OFString *path = URL.fileSystemRepresentation; uid_t uid = -1; gid_t gid = -1; of_string_encoding_t encoding; |
︙ | ︙ |