From owner-freebsd-stable@FreeBSD.ORG Fri Sep 22 17:30:52 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EF3616A492; Fri, 22 Sep 2006 17:30:52 +0000 (UTC) (envelope-from mi+mx@aldan.algebra.com) Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE02543D97; Fri, 22 Sep 2006 17:30:25 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from [172.21.130.86] (mx-broadway [38.98.68.18]) by corbulon.video-collage.com (8.13.6/8.13.6) with ESMTP id k8MHUEFW074940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 Sep 2006 13:30:15 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Content-Disposition: inline From: Mikhail Teterin Organization: Virtual Estates, Inc. To: stable@freebsd.org, ache@nagual.pp.ru Date: Fri, 22 Sep 2006 13:30:09 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: 8bit Message-Id: <200609221330.09548.mi+mx@aldan.algebra.com> X-Virus-Scanned: ClamAV 0.88.4/1927/Fri Sep 22 06:06:31 2006 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 Cc: re@freebsd.org Subject: Fwd: Re: getopt_long and POSIXLY_CORRECT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 17:30:52 -0000 Could a committer with interest in -stable, please, see to it, that Andrey's recent change to getopt_long makes it into 6.2-RELEASE? The change makes our implementation of getopt_long closer to GNULIB's and will make it easier to avoid code-duplication in some ports. Thanks! -mi ---------- Переслане пов╕домлення ---------- Subject: Re: getopt_long and POSIXLY_CORRECT Date: п'ятниця 22 вересень 2006 13:19 From: Andrey Chernov To: Mikhail Teterin Cc: bug-m4@gnu.org, bug-gnulib , Todd.Miller@courtesan.com, marius@alchemy.franken.de, tv@netbsd.org On Fri, Sep 22, 2006 at 01:10:51PM -0400, Mikhail Teterin wrote: > п'ятниця 22 вересень 2006 13:04, Andrey Chernov написав: > > On Fri, Sep 22, 2006 at 01:22:42AM -0400, Mikhail Teterin wrote: > > > The GNULIB folks are calling BSD's getopt_long implementation "broken", > > > because -- unlike theirs -- it respects the POSIXLY_CORRECT environment > > > variable, when working with an opstring containing "::" (signifying an > > > optional value for a particular flag). > > > > Fixed in getopt_long.c v1.13 > > Thanks, Andrey. Please, make sure, the change gets into upcoming > FreeBSD-6.2 too. I don't have any -stable machine conveniently available for testing. Feel free to MFC it after testing or ask someone else. -- http://ache.pp.ru/ -------------------------------------------------------