cvs commit: src/lib/libarchive archive_read_support_format_tar.c src/lib/libarchive/test test_read_format_tar.c

Tim Kientzle kientzle at FreeBSD.org
Sun Jan 13 15:50:30 PST 2008


kientzle    2008-01-13 23:50:30 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_read_support_format_tar.c 
    lib/libarchive/test  test_read_format_tar.c 
  Log:
  Since the tar bidder can never get called more than once, it
  doesn't need to compensate for this situation.
  
  While here, fix a minor longstanding bug that empty tar archives
  (which begin with at least 512 zero bytes) never properly reported
  their format.  In particular, this fixes the output of:
     bsdtar tvvf /dev/zero
  
  And, of course, a new test to verify that libarchive correctly
  recognizes the format of such files.
  
  Revision  Changes    Path
  1.64      +12 -23    src/lib/libarchive/archive_read_support_format_tar.c
  1.3       +47 -0     src/lib/libarchive/test/test_read_format_tar.c


More information about the cvs-all mailing list