cvs commit: src/usr.sbin/pkg_install/lib file.c

Andrey Chernov ache at nagual.pp.ru
Wed Apr 7 23:21:24 PDT 2004


On Wed, Apr 07, 2004 at 11:06:42PM -0700, Tim Kientzle wrote:
> kientzle    2004/04/07 23:06:42 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     usr.sbin/pkg_install/lib file.c 
>   Log:
>   When invoking tar, make sure the mode option (-x) is first.

It looks like wrong place to fix. bsdtar should be fixed instead to accept
options/arguments intermixed in any order like GNU tar already does. I.e.  
you should start your short options string for getopt_long() with "-",
like in GNU tar.

-- 
Andrey Chernov | http://ache.pp.ru/


More information about the cvs-all mailing list