[rrd-users] Re: rrd_fetch Segmentation Fault - getopts

Tobias Oetiker oetiker at ee.ethz.ch
Mon Jul 8 19:32:13 MEST 2002


Today Francois Mikus wrote:
>
> Anyways, if someone has run into the same problems, I hope this helps.
> In any case, should the change make sense, feel free to submit the
> change in cvs. I do not have access to it, nor do I intend to. ;-)
>
> The diff was run against rrd_tool.c from the CVS snapshot of RRDtool
> 1.1.x dated 2002-07-04.
>
> [root at cricket1 src]# diff ../../rrdtool-2002-07-04/src/rrd_tool.c
> rrd_tool.c
> 511a512,513
> >       optind=0;
> >       opterr=0;
>
>

Francois,

Can you shed any light on you optind should be reset again when it
gets reset at the beginning of the function ?

does it get overwritten ?

confused
tobi

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
 / // _ \/ _ \/ / phoneto:+41(0)1-632-5286  faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://google.com/search?q=tobi

--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list