[rrd-users] Re: Bug in 1.2.0

Tobias Oetiker oetiker at ee.ethz.ch
Tue May 3 22:22:33 MEST 2005


Hi Andres,

1.2.2 will contain this patch ..

Index: rrd_tool.c
===================================================================
--- rrd_tool.c  (revision 472)
+++ rrd_tool.c  (working copy)
@@ -356,7 +356,7 @@

            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)   {
@@ -368,8 +368,7 @@
                    exit(1);
                }

-               if (HandleInputLine(argc, myargv, stdout))
-                   exit(1);
+               HandleInputLine(argc, myargv, stdout);
                free(myargv);



cheers
tob
Today Anders Nygren wrote:

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

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

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