]> Dogcows Code - chaz/tar/commit
Fix --one-top-level used together with --list.
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 13 Feb 2014 17:11:36 +0000 (19:11 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 13 Feb 2014 17:17:27 +0000 (19:17 +0200)
commitc86b0c21494752dc3fccda8f160af68d1135b13e
tree0b0689282c5a3d08207ff0b202f7321335e35a49
parent8b6a1a59909c946989eba2fd0750232c05f18b04
Fix --one-top-level used together with --list.

* src/extract.c: Move one_top_level stuff to tar.c (decode_options).
* src/tar.c (option_conflict_error): New function.
(decode_options): Use option_conflict_error to complain about
conflicting options in a uniform manner.
Process one_top_level options here.
(request_stdin): Fix error message.
* tests/onetop04.at: New testcase: check --one-top-level with --list.
* tests/Makefile.am: Add new testcase.
* tests/testsuite.at: Add new testcase.
src/extract.c
src/tar.c
tests/Makefile.am
tests/onetop04.at [new file with mode: 0644]
tests/testsuite.at
This page took 0.022408 seconds and 4 git commands to generate.