Hi Tobias!
> Today Abraham van der Merwe wrote:
>
> > Hi!
> >
> > I have this problem that if I call rrd_update(), rrd_create(), etc.
> > consecutively in a C program with parameters which need to be parsed using
> > getopt, then these functions break horribly. Here is a stack trace from such
> > a crash:
>
> make sure you look at the sample code in rrd_cgi, RRDs.xs and
> rrd_tool.c ... Iguess you missed handling optind ...
Ah, thanks. That might be it. Maybe you should set optind, opterr in the
rrd_*() functions.
--
Regards
Abraham
Tell the truth or trump--but get the trick.
-- Mark Twain, "Pudd'nhead Wilson's Calendar"
___________________________________________________
Abraham vd Merwe [ZR1BBQ] - Frogfoot Networks
P.O. Box 3472, Matieland, Stellenbosch, 7602
Cell: +27 82 565 4451 Http: http://www.frogfoot.net
Email: [EMAIL PROTECTED]
-- Binary/unsupported file stripped by Listar --
-- Err : No filename to use for decode, file stripped.
-- Type: application/pgp-signature
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi