]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Fix typos in archive_pathmatch logic.
authorTim Kientzle <kientzle@acm.org>
Mon, 15 Dec 2014 04:14:19 +0000 (20:14 -0800)
committerTim Kientzle <kientzle@acm.org>
Mon, 15 Dec 2014 04:14:19 +0000 (20:14 -0800)
commitc074a8fdc481cf7550184daa576ed80f8eef9f14
tree2bb20a1386f0571e8b1bd736b0798626246df670
parentb33fc80286665cd3db73fdc638d4c73b9aecdf61
Fix typos in archive_pathmatch logic.

This was explored in pull request #78 by github user maksqwe.
After considering the alternatives, I think the existing
behavior was correct (but the comments were wrong and there was
extraneous code).  Extended tests to cover this case and some
other cases that were not fully exercised.
libarchive/archive_pathmatch.c
libarchive/test/test_archive_pathmatch.c