cvs commit: src/lib/libarchive archive_read.c archive_read_private.h archive_read_support_format_zip.c

Dag-Erling Smorgrav des at FreeBSD.org
Thu Jan 3 09:54:27 PST 2008


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


More information about the cvs-all mailing list