]> Dogcows Code - chaz/tar/commit
Fix `--test-label' and `--label -r' behavior.
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 11 Mar 2010 15:41:23 +0000 (17:41 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 11 Mar 2010 15:41:23 +0000 (17:41 +0200)
commit0ba8bdf5f3401fdc8c1595857ab69f6c65e04353
treeefc58e1477fb3f6086ddcd8990e8126a03246f67
parent8d3cc6c3cf5bc59f955f935db6f2c3d6562be6da
Fix `--test-label' and `--label -r' behavior.

* doc/tar.texi (Including a Label in the Archive): Revise
the section.
* NEWS: Update

* src/buffer.c (open_archive): Check volume label on
ACCESS_UPDATE as well.
* src/list.c (test_archive_label): Rewrite to match the
documentation.
* src/names.c (regex_usage_warning): Return int.
(names_notfound): Rewrite the conditional.
(label_notfound): New function.

* tests/label03.at: New testcase.
* tests/label04.at: New testcase.
* tests/label05.at: New testcase.
* tests/Makefile.am: Add new testcases.
* tests/testsuite.at: Likewise.
NEWS
doc/tar.texi
src/buffer.c
src/list.c
src/names.c
tests/Makefile.am
tests/label03.at [new file with mode: 0644]
tests/label04.at [new file with mode: 0644]
tests/label05.at [new file with mode: 0644]
tests/testsuite.at
This page took 0.020198 seconds and 4 git commands to generate.