Differences From Artifact [b717d78c4a]:
- File utils/ofarc/LHAArchive.m — part of check-in [bc158ffe75] at 2020-06-02 21:02:57 on branch set-mtime — ofarc: Set modification date of extracted files (user: js, size: 14020) [annotate] [blame] [check-ins using] [more...]
To Artifact [c25e61eb57]:
- File
utils/ofarc/LHAArchive.m
— part of check-in
[d74f244ab7]
at
2020-08-12 20:56:32
on branch trunk
— Avoid using (u)intmax_t in methods
It is not guaranteed that a type encoding for it exists. (user: js, size: 14051) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
485 486 487 488 489 490 491 | if ([type isEqual: of_file_type_directory]) entry.compressionMethod = @"-lhd-"; output = [_archive streamForWritingEntry: entry]; if ([type isEqual: of_file_type_regular]) { | > | | 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 | if ([type isEqual: of_file_type_directory]) entry.compressionMethod = @"-lhd-"; output = [_archive streamForWritingEntry: entry]; if ([type isEqual: of_file_type_regular]) { unsigned long long written = 0; unsigned long long size = attributes.fileSize; int8_t percent = -1, newPercent; OFFile *input = [OFFile fileWithPath: fileName mode: @"r"]; while (!input.atEndOfStream) { ssize_t length = [app |
︙ | ︙ |