Differences From Artifact [6db7373fe9]:
- File
src/OFTarArchiveEntry.m
— part of check-in
[6c08b57605]
at
2022-10-06 23:33:25
on branch trunk
— OFTarArchive: Make returned streams retain archive
In order to not create a retain cycle, this changes the reference to the
last returned stream to an unsafe unretained one that the stream itself
resets to nil in its dealloc. (user: js, size: 9261) [annotate] [blame] [check-ins using] [more...]
To Artifact [6add4508d8]:
- File src/OFTarArchiveEntry.m — part of check-in [2b7c5eb0ec] at 2022-10-25 23:10:54 on branch trunk — Fix building with Apple GCC 4.0.1 (user: js, size: 9407) [annotate] [blame] [check-ins using] [more...]
︙ | |||
71 72 73 74 75 76 77 78 79 80 81 82 83 84 | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | + + + + + + | if (value > max) @throw [OFOutOfRangeException exception]; return value; } @implementation OFTarArchiveEntry /* * The following is optional in OFArchiveEntry, but Apple GCC 4.0.1 is buggy * and needs this to stop complaining. */ @dynamic fileComment; - (instancetype)init { OF_INVALID_INIT_METHOD } - (instancetype)of_init { |
︙ |