]> git.ipfire.org Git - thirdparty/tar.git/commit
Report positional options that were used but had no effect during archive creation
authorSergey Poznyakoff <gray@gnu.org.ua>
Fri, 27 May 2016 07:39:49 +0000 (10:39 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Fri, 27 May 2016 08:50:19 +0000 (11:50 +0300)
commit9a33077a7b7ad7d32815a21dee54eba63b38a81c
tree3b9336b1b23725ab9814eaf2ec8a6629843c8b02
parent20b55f0679d314568ec21ae6db1ea635494e292b
Report positional options that were used but had no effect during archive creation

* src/names.c (file_selection_option)
(file_selection_option_name): New functions.
(unconsumed_option_push, unconsumed_option_free)
(unconsumed_option_report): New functions.
(name_list_advance): Maintain a list
of eventually unconsumed options during archive creation.
Report unconsumed options, if any.

* tests/positional01.at: New test case.
* tests/positional02.at: New test case.
* tests/positional03.at: New test case.
* tests/Makefile.am: Add new test cases.
* tests/testsuite.at: Likewise.

* NEWS: Document the changes.
* configure.ac: Version 1.29.90
* doc/tar.texi: Document the changes.
NEWS
configure.ac
doc/tar.texi
src/names.c
tests/Makefile.am
tests/positional01.at [new file with mode: 0644]
tests/positional02.at [new file with mode: 0644]
tests/positional03.at [new file with mode: 0644]
tests/testsuite.at