cvs commit: src/lib/libarchive Makefile archive.h.in
archive_read.3 archive_write.3 archive_write.c
archive_write_open_fd.c archive_write_open_file.c
archive_write_open_filename.c
archive_write_open_memory.c archive_write_set_compression_none.c
Tim Kientzle
kientzle at FreeBSD.org
Sun Nov 26 11:23:29 PST 2006
kientzle 2006-11-26 19:00:50 UTC
FreeBSD src repository
Modified files:
lib/libarchive Makefile archive.h.in archive_read.3
archive_write.3 archive_write.c
archive_write_open_fd.c
archive_write_open_file.c
archive_write_open_filename.c
archive_write_open_memory.c
archive_write_set_compression_none.c
Log:
Write-blocking cleanup, largely thanks to Colin Percival (cperciva@).
* If write block size is zero, don't block at all.
This supports the unusual requirement of applications
that need "no-delay" writes.
* Expose _write_finish_entry() to give such applications more
control over write boundaries. (Normal applications do not
need this, as entries are completed automatically.)
* Correct the type of write callbacks; this is a minor API
change that does not affect the ABI.
* Correct the error handling in _write_next_header() around
completing the previous entry.
* Correct the documentation for block-size markers: Remove
docs for the long-defunct _read_set_block_size(); document
all of the write block size manipulators.
MFC after: 14 days
Revision Changes Path
1.56 +3 -1 src/lib/libarchive/Makefile
1.34 +2 -1 src/lib/libarchive/archive.h.in
1.27 +0 -8 src/lib/libarchive/archive_read.3
1.18 +24 -0 src/lib/libarchive/archive_write.3
1.22 +25 -8 src/lib/libarchive/archive_write.c
1.8 +2 -2 src/lib/libarchive/archive_write_open_fd.c
1.18 +2 -2 src/lib/libarchive/archive_write_open_file.c
1.17 +2 -2 src/lib/libarchive/archive_write_open_filename.c
1.2 +2 -2 src/lib/libarchive/archive_write_open_memory.c
1.10 +29 -8 src/lib/libarchive/archive_write_set_compression_none.c
More information about the cvs-src
mailing list