[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tar -I incompatibility



> From: Goswin Brederlow <goswin.brederlow@student.uni-tuebingen.de>
> Date: 07 Jan 2001 23:00:59 +0100

> % tar -cIvvf bla.tar.bz2 bla
> tar: bla: Cannot stat: No such file or directory

That is indeed a bug.  Thanks for reporting it.  I'll fix it as follows:

   @@ -439,5 +434,5 @@ or a device.  *This* `tar' defaults to `

    #define OPTION_STRING \
   -  "-01234567ABC:F:GIK:L:MN:OPRST:UV:WX:Zb:cdf:g:hijklmoprstuvwxz"
   +  "-01234567ABC:F:GI:K:L:MN:OPRST:UV:WX:Zb:cdf:g:hijklmoprstuvwxz"

    static void

That should change your scenario to behave something like this instead:

   % tar -cIvvf bla.tar.bz2 bla
   tar: vvf: Cannot open: No such file or directory
   tar: Error is not recoverable: exiting now

which is a bit better (though admittedly not ideal).


> As I said before tar -I in its old useage should give one of several
> errors, but doesn't. Can't remeber the bug number, but its in the BTS.

Sorry, I don't quite follow you here.

> On the other hand, just changing the meaning or deleting the option
> will result in severe breakage in 3rd party software.

What 3rd party software do you have in mind?



Reply to: