[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getopt_long and POSIXLY_CORRECT
From: |
Andrey Chernov |
Subject: |
Re: getopt_long and POSIXLY_CORRECT |
Date: |
Fri, 22 Sep 2006 21:19:38 +0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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/