[pkg-boost-devel] Bug#593522: Bug#593522: libboost-program-options1.42.0: Options parsing broken for long options with common root
Roger Leigh
rleigh at codelibre.net
Thu Aug 19 08:47:27 UTC 2010
On Thu, Aug 19, 2010 at 09:40:40AM +0100, Roger Leigh wrote:
> On Thu, Aug 19, 2010 at 09:29:15AM +0100, Roger Leigh wrote:
> > On Wed, Aug 18, 2010 at 09:40:43PM -0500, Steve M. Robbins wrote:
> > > On Wed, Aug 18, 2010 at 11:55:02PM +0100, Roger Leigh wrote:
> > > > Package: libboost-program-options1.42.0
> > > > Version: 1.42.0-4
> > > > Severity: important
> > > >
> > > > Hi,
> > > >
> > > > schroot (version 1.4.8-1 in unstable) has broken options parsing
> > > > due to what looks like a Boost regression.
> > >
> > > Can you provide a minimal code example, together with
> > > expected and actual outputs? I can pass it upstream.
> >
> > Attached. This is the output:
> >
> > $ g++ -o test test.cc -lboost_program_options
> > $ ./test --all
> > all-source-chroots
> > $ ./test --all-chroots
> > all-chroots
> > $ ./test --all-sessions
> > all-sessions
> > $ ./test --all-source-chroots
> > all-source-chroots
> >
> > so you can clearly see that --all is actually being treated by
> > boost_program_options as being --all-source-chroots.
>
> Just to make the expected output clear:
> $ ./test --all
> should have returned
> ==> all
> and not
> ==> all-source-chroots
This works as expected with 1.34 in lenny.
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20100819/441b1687/attachment-0001.pgp>
More information about the pkg-boost-devel
mailing list