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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-developers WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
