cvs commit: src/lib/libarchive archive_read_extract.c src/usr.bin/tar read.c

Colin Percival cperciva at FreeBSD.org
Mon Apr 16 04:04:52 UTC 2007


cperciva    2007-04-16 04:04:50 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_read_extract.c 
    usr.bin/tar          read.c 
  Log:
  In libarchive: Downgrade ARCHIVE_FATAL and ARCHIVE_FAILED errors which
  occur on the write side of extracting a file to ARCHIVE_WARN errors
  when returning them from archive_read_extract.
  
  In bsdtar: Use the return code from archive_read_data_into_fd and
  archive_read_extract to determine whether we should continue trying to
  extract an archive after one of the entries fails.
  
  This commit makes extracting a truncated tarball complain once about
  the archive being truncated, instead of complaining twice (once when
  trying to extract an entry, and once when trying to seek to the next
  entry).
  
  Discussed with: kientzle
  
  Revision  Changes    Path
  1.58      +6 -0      src/lib/libarchive/archive_read_extract.c
  1.31      +8 -9      src/usr.bin/tar/read.c


More information about the cvs-src mailing list