]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Several fixes to Windows handling in tree.c:
authorTim Kientzle <kientzle@gmail.com>
Mon, 30 Nov 2009 00:46:08 +0000 (19:46 -0500)
committerTim Kientzle <kientzle@gmail.com>
Mon, 30 Nov 2009 00:46:08 +0000 (19:46 -0500)
commite8526b5f016109de4075d2cda454f890dd8a3031
treea324baf4d24401355e653a47e7e6ffd8e033a8f4
parent55a37fda2d7669d1cfbf68202e74206c32db52e3
Several fixes to Windows handling in tree.c:
 * Convert \ to / on entry; this allows us to remove duplicate '/' and '\' checks from a couple of places
 * Rework tree_append() to make it clearer that buff != NULL by the time we get to anything interesting (found by Clang)
 * After appending initial path, set the path length so it doesn't get overwritten

SVN-Revision: 1688
tar/tree.c