Overview
Comment: | ofarc: Fix creating LHA files with directories |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d6bb16aa3b62c2c8370974ab218134c2 |
User & Date: | js on 2021-07-04 16:19:34 |
Other Links: | manifest | tags |
Context
2021-07-04
| ||
16:29 | Fix symlink handling in subpathsOfDirectoryAtPath: check-in: ae44655c61 user: js tags: trunk | |
16:19 | ofarc: Fix creating LHA files with directories check-in: d6bb16aa3b user: js tags: trunk | |
11:54 | ofarc: Add support for adding files recursively check-in: e57ecc4311 user: js tags: trunk | |
Changes
Modified utils/ofarc/LHAArchive.m from [051184aa1d] to [9257c8729a].
︙ | ︙ | |||
478 479 480 481 482 483 484 | attributes.fileOwnerAccountID]; entry.GID = [OFNumber numberWithUnsignedLong: attributes.fileGroupOwnerAccountID]; entry.owner = attributes.fileOwnerAccountName; entry.group = attributes.fileGroupOwnerAccountName; #endif | | > > > > > | 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 | attributes.fileOwnerAccountID]; entry.GID = [OFNumber numberWithUnsignedLong: attributes.fileGroupOwnerAccountID]; entry.owner = attributes.fileOwnerAccountName; entry.group = attributes.fileGroupOwnerAccountName; #endif if ([type isEqual: OFFileTypeDirectory]) { entry.compressionMethod = @"-lhd-"; if (![entry.fileName hasSuffix: @"/"]) entry.fileName = [entry.fileName stringByAppendingString: @"/"]; } output = [_archive streamForWritingEntry: entry]; if ([type isEqual: OFFileTypeRegular]) { unsigned long long written = 0; unsigned long long size = attributes.fileSize; int8_t percent = -1, newPercent; |
︙ | ︙ |