[rrd-developers] Re: bug in rrdtool

Matt Zimmerman mdz at debian.org
Wed Apr 3 00:08:02 MEST 2002

On Tue, Apr 02, 2002 at 11:29:17PM +0200, Abraham van der Merwe wrote:

> 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:

This is a known problem; you need to set optind = 0 and opterr = 0 between
calls, because they use getopt.

 - mdz

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