[rrd-developers] Tcl core dump fixed !
Ricardo Jorge
ricardoj at tridata.com.br
Wed Jun 12 19:14:02 MEST 2002
Hi there !
You can find the fix to the Tcl core dump reported by me.
Thank you for your attention and this great software. Regards,
Ricardo Jorge
--------------- cut here --------------------------
10,12d9
< *
< * Changes to fix the core dump bug, made by Ricardo Jorge, on
2002/06/12
< *
19a17
> #include <rrd_format.h>
22c20,21
< int Tclrrd_Init(Tcl_Interp *interp, int safe);
---
>
> extern int __getopt_initialized;
97c96
< getopt_cleanup(argc, argv2);
---
> getopt_cleanup(argv, argv2);
125c124
< getopt_cleanup(argc, argv2);
---
> getopt_cleanup(argv, argv2);
153c152
< getopt_cleanup(argc, argv2);
---
> getopt_cleanup(argv, argv2);
198c197
< getopt_cleanup(argc, argv2);
---
> getopt_cleanup(argv, argv2);
220c219
< int xsize, ysize,i;
---
> int xsize, ysize;
223a223,224
> calcpr = NULL;
>
229,234c230,240
< if (calcpr) {
< for(i=0;calcpr[i];i++) {
< free(calcpr[i]);
< }
< free(calcpr);
< }
---
> if (calcpr) {
> #if 0
> int i;
>
> for(i = 0; calcpr[i]; i++){
> printf("%s\n", calcpr[i]);
> free(calcpr[i]);
> }
> #endif
> free(calcpr);
> }
236,237c242
<
< getopt_cleanup(argc, argv2);
---
> getopt_cleanup(argv, argv2);
262c267
< getopt_cleanup(argc, argv2);
---
> getopt_cleanup(argv, argv2);
287c292
< getopt_cleanup(argc, argv2);
---
> getopt_cleanup(argv, argv2);
312c317
< getopt_cleanup(argc, argv2);
---
> getopt_cleanup(argv, argv2);
--------------- cut here --------------------------
--
Tridata Tecnologia Ltda.
Rua Machado Bittencourt, 190 Cj. 508
Vila Clementino - Sao Paulo - SP - 04044-000
Voice (55)-11-5575-0125
FAX (55)-11-5571-0893
--
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