Differences From Artifact [00b90bedb9]:
- File utils/ofzip/TarArchive.m — part of check-in [7e5c81e186] at 2018-01-03 19:49:46 on branch trunk — Update copyright notice (user: js, size: 15102) [annotate] [blame] [check-ins using]
To Artifact [4c9cd970e5]:
- File
utils/ofzip/TarArchive.m
— part of check-in
[156b850131]
at
2018-03-11 12:55:20
on branch trunk
— Remove OF_PATH_* macros
These were way too simplistic, as paths differ in more than just that on
various operating systems. (user: js, size: 15117) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
292 293 294 295 296 297 298 | app->_exitStatus = 1; goto outer_loop_end; } pathComponents = [outFileName pathComponents]; for (OFString *component in pathComponents) { | > | | 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 | app->_exitStatus = 1; goto outer_loop_end; } pathComponents = [outFileName pathComponents]; for (OFString *component in pathComponents) { if ([component length] == 0 || [component isEqual: @".."]) { [of_stderr writeLine: OF_LOCALIZED( @"refusing_to_extract_file", @"Refusing to extract %[file]!", @"file", fileName)]; app->_exitStatus = 1; goto outer_loop_end; |
︙ | ︙ |