[rrd-users] File not found bug
anders
anders.nygren at telteq.com.mx
Mon Mar 13 23:06:04 MET 2006
In may last year i reported
"I found a bug in 1.2.0.
If a non existing file is given in a command in
"remote
control" mode the reply is only the File not found
text, there is no
\nOK u:... s:... r:..."
To which Tobias replied
"1.2.2 will contain this patch ..
Index: rrd_tool.c
===================================================================
--- rrd_tool.c (revision 472)
+++ rrd_tool.c (working copy)
<at> <at> -356,7 +356,7 <at> <at>
while (fgets(aLine, sizeof(aLine)-1, stdin)){
if ((argc = CountArgs(aLine)) == 0) {
- fprintf(stderr,"ERROR: not enough arguments\n");
+ fprintf(stderr,"ERROR: not enough arguments\n");
}
if ((myargv = (char **) malloc((argc+1) *
sizeof(char *))) == NULL) {
<at> <at> -368,8 +368,7 <at> <at>
exit(1);
}
- if (HandleInputLine(argc, myargv, stdout))
- exit(1);
+ HandleInputLine(argc, myargv, stdout);
free(myargv);
"
I dont know if the patch didn't work or was lost somewhere but I just noticed
the same problem in 1.2.11.
/Anders
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list