cvs commit: src/lib/libarchive archive.h archive_private.h archive_read.3 archive_read.c archive_read_data_into_fd.c archive_read_support_format_tar.c

Tim Kientzle kientzle at FreeBSD.org
Wed Jun 2 01:14:44 PDT 2004


kientzle    2004/06/02 01:14:44 PDT

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive.h archive_private.h 
                         archive_read.3 archive_read.c 
                         archive_read_data_into_fd.c 
                         archive_read_support_format_cpio.c 
                         archive_read_support_format_tar.c 
  Log:
  Refactor read_data:
   * New read_data_block is both sparse-file aware and uses zero-copy semantics
   * Push read_data_block down into specific formats (opens door to
     various encoded entry bodies, such as zip or gtar -S)
   * Reimplement read_data, read_data_skip, read_data_into_fd in terms
     of new read_data_block.
   * Update documentation
  It's unfortunate that I couldn't just call the new interface
  archive_read_data, but didn't want to upset the API that much.
  
  Revision  Changes    Path
  1.11      +8 -0      src/lib/libarchive/archive.h
  1.11      +10 -8     src/lib/libarchive/archive_private.h
  1.6       +21 -6     src/lib/libarchive/archive_read.3
  1.7       +84 -50    src/lib/libarchive/archive_read.c
  1.6       +34 -21    src/lib/libarchive/archive_read_data_into_fd.c
  1.10      +72 -28    src/lib/libarchive/archive_read_support_format_cpio.c
  1.15      +63 -18    src/lib/libarchive/archive_read_support_format_tar.c


More information about the cvs-src mailing list