[rrd-developers] Re: bug in rrdtool

Torleiv Ringer ringert at consumption.net
Tue Apr 2 23:36:44 MEST 2002


You must reset the optind variable between successive calls to any rrd_
function. There are discussions on the user list in the archive.

torleiv

On Tue, 2 Apr 2002, 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:
> 

-- 
Professionalism has no place in art, and hacking is art.
				        - Jamie Zawinski


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



More information about the rrd-developers mailing list