Date: Thu, 3 Jan 2008 17:54:27 +0000 (UTC) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libarchive archive_read.c archive_read_private.h archive_read_support_format_zip.c Message-ID: <200801031754.m03HsRwZ035708@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2008-01-03 17:54:27 UTC
FreeBSD src repository
Modified files:
lib/libarchive archive_read.c archive_read_private.h
archive_read_support_format_zip.c
Log:
Add an internal utility function to simplify the many, many places where
the number of bytes read is actually not important as long as we have at
least what we ask for. Illustrate its benefits by using it throughout
the ZIP support code, except for the few cases where it doesn't apply.
Approved by: kientzle
Revision Changes Path
1.37 +11 -0 src/lib/libarchive/archive_read.c
1.4 +3 -0 src/lib/libarchive/archive_read_private.h
1.18 +10 -25 src/lib/libarchive/archive_read_support_format_zip.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801031754.m03HsRwZ035708>
