cvs commit: src/lib/libarchive archive_read_support_format_zip.c
Tim Kientzle
kientzle at FreeBSD.org
Wed Oct 17 22:16:51 PDT 2007
kientzle 2007-10-18 05:16:50 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
lib/libarchive archive_read_support_format_zip.c
Log:
MFC 1.15: When reading ZIP archives, non-regular files should
return EOF immediately on any attempts to read their data.
(Previously, it would return a zero-length block, then EOF,
which elicited bogus warnings from bsdtar.)
Also, correct the EOF return to correctly identify EOF
as part of an empty block at the correct offset.
Approved by: re (Ken Smith)
Revision Changes Path
1.14.2.1 +7 -0 src/lib/libarchive/archive_read_support_format_zip.c
More information about the cvs-src
mailing list