Differences From Artifact [fe3cb3604c]:
- File
utils/ofzip/TarArchive.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 11147) [annotate] [blame] [check-ins using]
To Artifact [6243a0cc42]:
- File utils/ofzip/TarArchive.m — part of check-in [4175b93242] at 2017-06-03 14:37:19 on branch trunk — OFFileManager: Mask modes to ensure safe modes (user: js, size: 10959) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
24 25 26 27 28 29 30 | #import "OFFileManager.h" #import "OFStdIOStream.h" #import "OFLocalization.h" #import "TarArchive.h" #import "OFZIP.h" | < < < < < < < < < < < < | | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #import "OFFileManager.h" #import "OFStdIOStream.h" #import "OFLocalization.h" #import "TarArchive.h" #import "OFZIP.h" static OFZIP *app; static void setPermissions(OFString *path, OFTarArchiveEntry *entry) { #ifdef OF_HAVE_CHMOD [[OFFileManager defaultManager] changePermissionsOfItemAtPath: path permissions: [entry mode]]; #endif } @implementation TarArchive + (void)initialize { if (self == [TarArchive class]) |
︙ | ︙ |