Today Markus Baertschi wrote: > > I'm developping an app in C which is calling rrd_update and rrd_create > directly (linking with librrd). So far things are working, but there > is a problem if I mix calls to rrd_create and rrd_update. The rrd_update > call generates a segfault and my app is dead :-(.
how about using rrd_cgi.c or rrd_tool.c as an example? see how optind gets reset ? cheers tobi -- ______ __ _ /_ __/_ / / (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich / // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach /_/ \.__/_.__/_/ http://people.ee.ethz.ch/~oetiker +41(0)1-632-5286 -- 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
