[rrd-developers] Calling rrd_graph twice (or 3x, 4x, 5x)
David Olsen
lude at linuxpimpz.com
Mon Nov 8 23:47:49 MET 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I've wrote the list before
(http://www.ee.ethz.ch/~slist/rrd-developers/msg00980.html), and it seems I've
walked across a similar or the same bug, in either my code, or rrdtool.
I reset optind and opterr to zero. Pass it a few arguments, it works the first
time, then it just garbles up the arguments. I've tried a handful of ways to
pass it the argv array. Here is the most recent shot, but I've tried all types
of methods of malloc() and calloc() and different free/unfree/memset
combinations to get it to act right. Everything points to the same result. The
second time around, the argv array gets corrupted, and unusable.
Here's the latest round of calling:
http://lude.net/grapher.c
Anyone have any insight?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBj/eVxETfIXF0w9kRApInAKCfdHYhrPjFg5eFPm8HQPuqzBn/CwCfZU3b
x4Ey6o8Aaih7SUEYyEQk1Lc=
=TPxE
-----END PGP SIGNATURE-----
--
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