Date: Fri, 21 Sep 2007 04:52:43 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libarchive archive_write_disk.c src/lib/libarchive/test test_write_disk.c Message-ID: <200709210452.l8L4qhQ5055399@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2007-09-21 04:52:43 UTC
FreeBSD src repository
Modified files:
lib/libarchive archive_write_disk.c
lib/libarchive/test test_write_disk.c
Log:
Fix the archive_write_data() function so it always returns
number of bytes written, even when used to write files to
disk. Extend the test suite to verify the correct return
values for archive_write_data() and archive_write_data_block().
Thanks to: Bruce Mah, for stepping in promptly to back out the
earlier broken version of this fix
Thanks to: Colin Percival, for pointing out the correct fix
MFC after: 5 days
Approved by: re (ksmith)
Pointy hat: \me
Revision Changes Path
1.17 +10 -3 src/lib/libarchive/archive_write_disk.c
1.6 +76 -1 src/lib/libarchive/test/test_write_disk.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709210452.l8L4qhQ5055399>
