Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2008 23:50:30 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libarchive archive_read_support_format_tar.c src/lib/libarchive/test test_read_format_tar.c
Message-ID:  <200801132350.m0DNoUL0046604@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801132350.m0DNoUL0046604>