Fwd: Re: getopt_long and POSIXLY_CORRECT

Mikhail Teterin mi+mx at aldan.algebra.com
Fri Sep 22 10:30:52 PDT 2006


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 at nagual.pp.ru>
To: Mikhail Teterin <mi+mx at aldan.algebra.com>
Cc: bug-m4 at gnu.org, bug-gnulib <bug-gnulib at gnu.org>, 
Todd.Miller at courtesan.com, marius at alchemy.franken.de, tv at 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/

-------------------------------------------------------


More information about the freebsd-stable mailing list