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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"