@@ -61,11 +61,11 @@ } /*! * The file name of the entry. */ -@property (readonly, nonatomic) OFString *fileName; +@property (readonly, nonatomic, copy) OFString *fileName; /*! * The mode of the entry. */ @property (readonly, nonatomic) uint16_t mode; @@ -86,11 +86,11 @@ @property (readonly, nonatomic) uint64_t size; /*! * The date of the last modification of the file. */ -@property (readonly, nonatomic) OFDate *modificationDate; +@property (readonly, nonatomic, retain) OFDate *modificationDate; /*! * The type of the archive entry. * * See @ref of_tar_archive_entry_type_t. @@ -98,21 +98,22 @@ @property (readonly, nonatomic) of_tar_archive_entry_type_t type; /*! * The file name of the target (for a hard link or symbolic link). */ -@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *targetFileName; +@property OF_NULLABLE_PROPERTY (readonly, nonatomic, copy) + OFString *targetFileName; /*! * The owner of the file. */ -@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *owner; +@property OF_NULLABLE_PROPERTY (readonly, nonatomic, copy) OFString *owner; /*! * The group of the file. */ -@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *group; +@property OF_NULLABLE_PROPERTY (readonly, nonatomic, copy) OFString *group; /*! * The device major (if the file is a device). */ @property (readonly, nonatomic) uint32_t deviceMajor;