From owner-cvs-all@FreeBSD.ORG Wed Apr 7 23:21:24 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2961616A4D1; Wed, 7 Apr 2004 23:21:24 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id E002343D6E; Wed, 7 Apr 2004 23:21:22 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.11/8.12.11) with ESMTP id i386LLkL049347; Thu, 8 Apr 2004 10:21:21 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.11/8.12.11/Submit) id i386LLdg049346; Thu, 8 Apr 2004 10:21:21 +0400 (MSD) (envelope-from ache) Date: Thu, 8 Apr 2004 10:21:21 +0400 From: Andrey Chernov To: Tim Kientzle Message-ID: <20040408062121.GA49250@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Tim Kientzle , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200404080606.i3866g3q063716@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404080606.i3866g3q063716@repoman.freebsd.org> User-Agent: Mutt/1.5.6i X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.25.0.2; VDF 6.25.0.6 (host: pobrecita.freebsd.ru) cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/pkg_install/lib file.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 06:21:24 -0000 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/