Date: Tue, 21 Oct 2008 05:08:35 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libarchive archive_read_support_format_zip.c src/lib/libarchive/test test_read_format_zip.c test_read_format_zip.zip.uu Message-ID: <200810210508.m9L58meO039979@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2008-10-21 05:08:35 UTC
FreeBSD src repository
Modified files:
lib/libarchive archive_read_support_format_zip.c
lib/libarchive/test test_read_format_zip.c
test_read_format_zip.zip.uu
Log:
SVN rev 184109 on 2008-10-21 05:08:35Z by kientzle
If we don't know the file size, leave the file size unset.
If it's not a regular file, don't return any data, even if the size is unknown.
Update the Zip test with a hand-tweaked Zip archive that has a
directory (with length-at-end set), a regular file without
length-at-end set, and a regular file with length-at-end set and a bad
CRC. Update the test code to verify that the file size is unset
for the regular file with length-at-end.
MFC after: 7 days
Revision Changes Path
1.27 +10 -4 src/lib/libarchive/archive_read_support_format_zip.c
1.8 +8 -1 src/lib/libarchive/test/test_read_format_zip.c
1.3 +10 -9 src/lib/libarchive/test/test_read_format_zip.zip.uu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810210508.m9L58meO039979>
