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 <ache@nagual.pp.ru>
To: Mikhail Teterin <mi+mx@aldan.algebra.com>
Cc: bug-m4@gnu.org, bug-gnulib <bug-gnulib@gnu.org>,
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/
-------------------------------------------------------