Overview
Comment: | OFZIP: Write files in binary mode.
Only important on Windows. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f6889355eea5297bf724c16040afaad3 |
User & Date: | js on 2013-11-18 15:23:31 |
Other Links: | manifest | tags |
Context
2013-11-20
| ||
20:20 | .gitignore: Add versioned .so files. check-in: 5a0b8a0cb1 user: js tags: trunk | |
2013-11-18
| ||
15:23 | OFZIP: Write files in binary mode. check-in: f6889355ee user: js tags: trunk | |
15:14 | OFZIP: Fix help not being shown. check-in: e851d0f1dd user: js tags: trunk | |
Changes
Modified utils/OFZIP.m from [f85ab98d59] to [c3038e7255].
︙ | ︙ | |||
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]; |
︙ | ︙ |