Re: [Bug-tar] tar has PROGRAM ERROR:

2013-11-12 Thread Connor Behan
On 10/11/13 05:47 PM, Linda A. Walsh wrote:

 On openSuse, w/tar-1.26-17.1.x86_64, I tried using
 the --portability flag to get only older headers..

 Instead I got:
 tar cf out --portability P-1.1.4/
 tar: --old-archive: (PROGRAM ERROR) Option should have been recognized!?
 Try `tar --help' or `tar --usage' for more information.

 tar bug or platform (opensuse) bug?



It works for me with tar-1.27 on Archlinux.



signature.asc
Description: OpenPGP digital signature


[Bug-tar] Documentation for warning (3.9) not accurate

2013-11-12 Thread Tobias Mark

Chapter 3.9 (http://www.gnu.org/software/tar/manual/tar.html#SEC48) say:
Warning messages are output to the standard error and they do not affect the exit 
code of|tar|  command.

However the warning%s: file changed as we read it  in fact only appears with 
a changed (non-zero) exit code.
According to multiple discussions (for example: 
http://lists.gnu.org/archive/html/bug-tar/2007-08/msg00042.html)
this is the intended behaviour, so the documentation should be fixed?

I would like it even better if--warning=no-file-changed could be used to 
disable this non-zero exit code.