From: Sergey Poznyakoff Date: Thu, 18 Sep 2014 15:06:40 +0000 (+0300) Subject: Bugfix: entries read from the -T file did not get proper matching_flag. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=163e96a0e619a900eab6de827c7c5749ecc9d3f2;hp=163e96a0e619a900eab6de827c7c5749ecc9d3f2;p=chaz%2Ftar Bugfix: entries read from the -T file did not get proper matching_flag. * src/common.h (name_add_file): Change signature. * src/names.c (name_elt_alloc_matflags): New function. (name_add_name): Use name_elt_alloc_matflags. (name_add_file): Take matching flags as third argument. (read_next_name): Remove trailing slashes. * src/tar.c (parse_opt): Pass matching_flags to name_add_file. * tests/T-dir00.at: New file. * tests/T-dir01.at: New file. * tests/Makefile.am: Add new testcases. * tests/testsuite.at: Likewise. ---