bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: argp warnings


From: Bruno Haible
Subject: Re: argp warnings
Date: Sat, 9 May 2009 00:28:44 +0200
User-agent: KMail/1.9.9

Eric Blake wrote:
> *** argp.11760        Fri May  8 08:56:27 2009
> --- - Fri May  8 08:56:27 2009
> ***************
> *** 1,4 ****
>   Usage: test-argp [-tvCSOlp?V] [-f FILE] [-o[ARG]] [--test] [--file=FILE]
>               [--input=FILE] [--verbose] [--cantiga] [--sonet] [--option]
> !             [--optional[=ARG]] [--limerick] [--poem] [--help] [--usage]
> !             [--version] ARGS...
> --- 1,4 ----
>   Usage: test-argp [-tvCSOlp?V] [-f FILE] [-o[ARG]] [--test] [--file=FILE]
>               [--input=FILE] [--verbose] [--cantiga] [--sonet] [--option]
> !             [--optional[=ARG]] [--limerick] [--poem] [--help] [--version]
> !             [--usage] ARGS...

This was already reported in 2007 [1] and 2008 [2]. I believe the cause is
that the qsort() call in lib/argp-help.c is sensitive to the implementation
of qsort. In other words, the comparison criterion passed to qsort may return 0
for different entries.

Bruno

[1] http://lists.gnu.org/archive/html/bug-gnulib/2007-03/msg00274.html
[2] http://lists.gnu.org/archive/html/bug-gnulib/2008-04/msg00213.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]