]> Dogcows Code - chaz/tar/commit
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)
commit163e96a0e619a900eab6de827c7c5749ecc9d3f2
tree0be75149a6f19fb15f39f595dd819bdbab68cb2d
parent0e0a852e9115da076d482d0a7fb6abe8bd7e2b78
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.
src/common.h
src/names.c
src/tar.c
tests/Makefile.am
tests/T-dir00.at [new file with mode: 0644]
tests/T-dir01.at [new file with mode: 0644]
tests/testsuite.at
This page took 0.01806 seconds and 4 git commands to generate.