Re: [Bug-tar] The --verify option should fail asap when not used properly

2013-06-29 Thread Sergey Poznyakoff
Hi Pavel. Thanks for reporting. The proposed fix did not include several operations that can be used together with --verify. I've fixed that in the repository (cfebb3ce). Regards, Sergey

Re: [Bug-tar] The --verify option should fail asap when not used properly

2013-06-29 Thread Pavel Raiskup
I've fixed that in the repository (cfebb3ce). Thanks! Small fix (iirc) is needed for --occurence option. Before this commit, --occurence was available also for DELETE_SUBCOMMAND. Now it is available just for SUBCL_READ (which does not cover --delete).

Re: [Bug-tar] The --verify option should fail asap when not used properly

2013-06-29 Thread Sergey Poznyakoff
Pavel Raiskup prais...@redhat.com ha escrit: Thanks! Small fix (iirc) is needed for --occurence option. Good catch! Fixed this as well. Regards, Sergey

[Bug-tar] The --verify option should fail asap when not used properly

2013-06-26 Thread Pavel Raiskup
Hi, is there possible to fail as early as possible during e.g. trying of --list --verify the archive? Something like the patch attached? If not, tar may fail hitting the abort() call: $ tar -czf /tmp/test.tgz FILE $ tar -tWvf /tmp/test.tgz tar: This does not look like a tar archive