Differences From Artifact [f85ab98d59]:
- File utils/OFZIP.m — part of check-in [e851d0f1dd] at 2013-11-18 15:14:55 on branch trunk — OFZIP: Fix help not being shown. (user: js, size: 7468) [annotate] [blame] [check-ins using]
To Artifact [c3038e7255]:
- File
utils/OFZIP.m
— part of check-in
[f6889355ee]
at
2013-11-18 15:23:31
on branch trunk
— OFZIP: Write files in binary mode.
Only important on Windows. (user: js, size: 7469) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
250 251 252 253 254 255 256 | } [of_stdout writeFormat: @"Extracting %@...", fileName]; } stream = [archive streamForReadingFile: fileName]; output = [OFFile fileWithPath: outFileName | | | 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 | } [of_stdout writeFormat: @"Extracting %@...", fileName]; } stream = [archive streamForReadingFile: fileName]; output = [OFFile fileWithPath: outFileName mode: @"wb"]; while (![stream isAtEndOfStream]) { size_t length = [stream readIntoBuffer: buffer length: BUFFER_SIZE]; [output writeBuffer: buffer length: length]; |
︙ | ︙ |