Fix the --exclude-backups option.
commitfa307a665545753b6729191fd2559ce872fa470a
authorSergey Poznyakoff <gray@gnu.org.ua>
Sat, 30 Jul 2011 15:26:38 +0000 (30 18:26 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sat, 30 Jul 2011 15:26:38 +0000 (30 18:26 +0300)
treea7fd6a9fc0b740d154496b1de4c6bf2a59798f0a
parent49bd102a1b220a0e4ad3e0e75ac0cdd2a5964efa
Fix the --exclude-backups option.

* src/tar.c (add_exclude_array): Take exclude option filags in its
second argument.
(parse_opt): Register backup_file_table with the EXCLUDE_WILDCARDS flag.
* tests/exclude07.at: New testcase.
* tests/Makefile.am (TESTSUITE_AT): Add testsuite.at.
* tests/testsuite.at: Include exclude07.at.
src/tar.c
tests/Makefile.am
tests/exclude07.at [new file with mode: 0644]
tests/testsuite.at