[rrd-users] Re: rrdfirst bug

Tobias Oetiker oetiker at ee.ethz.ch
Sat Jun 11 07:16:20 MEST 2005


Hi Dario,

try this:

Index: rrd_first.c
===================================================================
--- rrd_first.c (revision 603)
+++ rrd_first.c (working copy)
@@ -24,7 +24,6 @@
         };
         int option_index = 0;
         int opt;
-       optind = 0; opterr = 0;  /* initialize getopt */
         opt = getopt_long(argc, argv, "", long_options, &option_index);

         if(opt == EOF)

Monday Dario Rossi wrote:

> Hi,
>
> I would like to point out the existence of the following bug,
> probably related to argv parsing: specifying --rraindex on
> the command line causes rrdtool to stuck into an (infinite?)

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list