From: oetiker Date: Sun, 8 May 2005 15:07:27 +0000 (+0000) Subject: removed extra $ from from PERLCC test X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d9433adb40855c2dfb2c1d7fd3e216da512d7b72;p=rrdtool-all.git removed extra $ from from PERLCC test git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@510 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/configure.ac b/program/configure.ac index 8791c2ad..6820e073 100644 --- a/program/configure.ac +++ b/program/configure.ac @@ -311,7 +311,7 @@ else AC_MSG_RESULT($perlcc) if test ! -x $perlcc; then AC_PATH_PROG(PERLCC, ${perlcc}, no) - if test -x $"x$PERLCC" = "xno"; then + if test -x "x$PERLCC" = "xno"; then AC_MSG_WARN([ I would not find the Compiler ($perlcc) that was originally used to compile your perl binary. You should either make sure that this compiler is available on your diff --git a/program/src/rrd_graph_helper.c b/program/src/rrd_graph_helper.c index d0aaf4bf..5cadb089 100644 --- a/program/src/rrd_graph_helper.c +++ b/program/src/rrd_graph_helper.c @@ -298,6 +298,11 @@ rrd_parse_PVHLAST(char *line, unsigned int *eaten, graph_desc_t *gdp, image_desc dprintf("- parsing '%s'\n",&line[*eaten]); + /* have simpler code in the drawing section */ + if ( gdp->gf == GF_STACK ){ + gdp->stack=1; + } + i=scan_for_col(&line[*eaten],MAX_VNAME_LEN+9,tmpstr); if (line[*eaten+i]!='\0' && line[*eaten+i]!=':') { rrd_set_error("Cannot parse line '%s'",line); @@ -455,10 +460,6 @@ rrd_parse_PVHLAST(char *line, unsigned int *eaten, graph_desc_t *gdp, image_desc (*eaten)++; dprintf("- parsing '%s'\n",&line[*eaten]); - /* have simpler code in the drawing section */ - if ( gdp->gf == GF_STACK ){ - gdp->stack=1; - } return 0; }