Overview
Comment: | ofarc: Properly handle missing ZIP parts |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
5b69188a1b3ee9cd522b31188d72a176 |
User & Date: | js on 2023-08-28 15:23:36 |
Other Links: | manifest | tags |
Context
2023-08-28
| ||
15:39 | Update ChangeLog check-in: 1c2ee20871 user: js tags: trunk | |
15:23 | ofarc: Properly handle missing ZIP parts check-in: 5b69188a1b user: js tags: trunk | |
14:42 | PLATFORMS.md: Minor cleanup check-in: a969a6975b user: js tags: trunk | |
Changes
Modified utils/ofarc/ZIPArchive.m from [5f0ed89edf] to [f1e259e067].
︙ | ︙ | |||
137 138 139 140 141 142 143 | if (partNumber == lastPartNumber) path = _path; else path = [_path.stringByDeletingPathExtension stringByAppendingFormat: @".z%02u", partNumber + 1]; | < | < < < < < < | 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 | if (partNumber == lastPartNumber) path = _path; else path = [_path.stringByDeletingPathExtension stringByAppendingFormat: @".z%02u", partNumber + 1]; return [OFFile fileWithPath: path mode: @"r"]; } - (void)listFiles { for (OFZIPArchiveEntry *entry in _archive.entries) { void *pool = objc_autoreleasePoolPush(); |
︙ | ︙ |