[rrd-developers] Re: Problem with xport on version 1.2.4

Tobias Oetiker oetiker at ee.ethz.ch
Wed May 11 09:18:36 MEST 2005


Antoine,
note that patch below was bogouse ... it is not necessary ...

> Thank for the information. I make an error in updating
> rrd_tool. Xport works great now.
>
> Tobias Oetiker a écrit :
>
> > Hi Antoine,
> >
> > yep there seems to be an off by one issue ...
> >
> > Index: rrd_tool.c
> > ===================================================================
> > --- rrd_tool.c  (revision 536)
> > +++ rrd_tool.c  (working copy)
> > @@ -574,7 +574,7 @@
> > for (i = 0; i<ds_cnt;i++)
> >    printf("%20s",ds_namv[i]);
> >            printf ("\n\n");
> > -           for (ti = start+step; ti <= end; ti += step){
> > +           for (ti = start; ti < end; ti += step){
> > printf("%10lu:", ti);
> > for (ii = 0; ii < ds_cnt; ii++)
> > printf(" %0.10e", *(datai++));
> >

-- 
 ______    __   _
/_  __/_  / /  (_) 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-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-developers
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-developers mailing list