]> Dogcows Code - chaz/tar/commitdiff
Bugfix: entries read from the -T file did not get proper matching_flag.
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 18 Sep 2014 15:06:40 +0000 (18:06 +0300)
committerSergey Poznyakoff <gray@gnu.org>
Thu, 18 Sep 2014 20:01:22 +0000 (23:01 +0300)
* 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.


No differences found
This page took 0.022851 seconds and 4 git commands to generate.