cvs commit: src/lib/libarchive archive_read_support_compression_none.c

Tim Kientzle kientzle at
Fri Nov 2 01:42:14 PDT 2007

kientzle    2007-11-02 08:42:14 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    lib/libarchive       archive_read_support_compression_none.c 
  MFC 1.18: When skipping input data, request a minimum of 1 instead
  of the full request size.  This avoids a 32-bit overflow
  problem skipping an exact multiple of 4GB and is faster
  anyway because it allows the underlying I/O framework
  to minimize copying.
  In particular, this fixes bsdtar failing to properly skip
  entries in uncompressed tar archives that are an exact
  multiple of 4GB.
  Approved by: re (Ken Smith)
  Revision  Changes    Path  +1 -1      src/lib/libarchive/archive_read_support_compression_none.c

More information about the cvs-src mailing list