Permalink
Commits on Apr 23, 2012
Commits on Apr 21, 2012
  1. Fix the setup_acls placeholder used on systems where we don't have

    system-dependent ACL support yet.
    kientzle committed Apr 21, 2012
Commits on Apr 9, 2012
  1. Resuscitate the old NFS4 support code and make it work on FreeBSD-CUR…

    …RENT.
    
    This includes a new test that archive_write_disk and archive_read_disk
    consistently read/write ACL information to/from disk.
    This new test currently passes on FreeBSD-CURRENT.
    kientzle committed Apr 9, 2012
Commits on Apr 6, 2012
  1. Fix a memory leak.

    ggcueroad committed Apr 6, 2012
  2. Avoid a warning that Clang Static Analyzer complained

    "Access to field 'unconsumed' results in a dereference of a null
     pointer (loaded from field 'entry_cfdata."
    ggcueroad committed Apr 6, 2012
  3. Remove unneeded code.

    ggcueroad committed Apr 6, 2012
Commits on Apr 5, 2012
Commits on Apr 4, 2012
Commits on Apr 3, 2012
  1. Fixes for GCC 4.7.0

    Fixes the following compile error exposed with GCC 4.7.0:
    
        libarchive/archive_string.c: In function 'cesu8_to_unicode':
        libarchive/archive_string.c:2450:11: error: 'wc' may be used uninitialized in this function [-Werror=uninitialized]
        cc1: all warnings being treated as errors
    
    As well as a test failure that depends on signed integer wraparound,
    which is a very bad thing to do in C [1]. Mark the intermediate result
    as volatile to prevent the compiler optimizing away the arithmetic and
    the logical test.
    
    [1] http://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Signed-Overflow-Examples.html
    toofishes committed with kientzle Mar 27, 2012
Commits on Apr 2, 2012
  1. Initialize the buffer used for FIEMAP to avoid the error messages

    valgrind complains about.
    ggcueroad committed Apr 2, 2012
  2. Only look for libmd if OpenSSL is not present.

    In particular, this prevents us from trying to link
    both on FreeBSD.
    kientzle committed Apr 2, 2012
Commits on Mar 28, 2012
  1. Merge pull request #2 from amejia1/multivolume

    Multivolume File Read Support
    kientzle committed Mar 28, 2012
  2. Merge pull request #11 from toofishes/iso9660

    Iso9660 fixes and cleanups
    kientzle committed Mar 28, 2012
Commits on Mar 27, 2012
  1. Remove fallthough-based logic from iso9660 reader

    This simplifies the logic quite a bit, cuts down on code size, and
    follows the principle of least surprise.
    toofishes committed Feb 15, 2012
  2. Fix segfault in iso9660 reader

    Some odd ISO images do some funny things with RockRidge and Joliet data.
    In this particular case, Joliet is used on the CD image, but the first
    directory record has no RockRidge data. However, subsequent directory
    entries (in the Joliet volume descriptor!) have RockRidge data attached,
    although what is noticeably missing are type "NM" or name entries.
    
    This causes seenRockridge to get flipped on, which makes the bad
    assumption that seenJoliet is false.  This means that when we reach the
    code searching for the "rr_moved" special file, we strcmp() against NULL
    because our filename is really in file->utf16be_bytes.
    
    This is by far the easiest fix (and likely most correct fix) to this
    madness; I have no idea whether a UTF-16 encoded "rr_moved" file can
    even exist with whatever mastering software was used on this ISO.
    
    Also note that if you explicitly disable Joliet processing, you get a
    very different file listing on this ISO; apparently this is a cleaver
    way to hide files from prying eyes in the Windows world:
    
        $ ./bsdtar -t --options 'iso9660:joliet' -f example.iso | wc -l
        24
        $ ./bsdtar -t --options 'iso9660:!joliet' -f example.iso | wc -l
        3060
    toofishes committed Mar 27, 2012
Commits on Mar 26, 2012
  1. Implement support for reading from multiple data objects as one large…

    … stream.
    
    This enables support for reading archives split using the split utility.
    amejia1 committed Feb 24, 2012
Commits on Mar 24, 2012
  1. Change the default permissions of the regular files in CAB and 7-Zip …

    …archives to 0666 as Zip reader.
    ggcueroad committed Mar 24, 2012
Commits on Mar 23, 2012
Commits on Mar 22, 2012
  1. Improve the listing performance of CAB reader; Do not decode compress…

    …ed data
    
    until archive_read_data* is invoked.
    ggcueroad committed Mar 22, 2012
Commits on Mar 21, 2012
  1. Issue 250:problem extracting from CAB file.

     - Do not clear ds->rbytes_avail when coming back to ST_RD_R0, ST_RD_R1
       and ST_RD_R2 statuses with a full of compressed data.
     - Correctly skip 16 bits when there is no current bits stream data.
    ggcueroad committed Mar 17, 2012
  2. Merge pull request #10 from kientzle/c6508ec53bc0bfdd176069f2e9a37fb5…

    …90328dc6
    
    Update some manpages
    kientzle committed Mar 21, 2012
Commits on Mar 20, 2012
  1. Merge pull request #9 from ondrejholy/master

    archive_write_add_filter()
    kientzle committed Mar 20, 2012
  2. An additional fix of issue 249.

     - Do not consume read bytes more than the entry used when reading
       a uncompressed CAB file.
    ggcueroad committed Mar 20, 2012
  3. Improve test_read_format_cab to just read file names, not read file c…

    …ontents such as "bsdtar tf".
    ggcueroad committed Mar 20, 2012
  4. Fix the bug which the patch for issue 249 made, which bug is that

    sometimes sumcheck error hppens when listing a CAB file whose
    compression type is none.
    Do not consume extra bytes when the compression type is none.
    ggcueroad committed Mar 20, 2012
Commits on Mar 19, 2012
Commits on Mar 18, 2012