From: jrg@blodwen.demon.co.uk (James R Grinter)
Here's a fix for a bug I encountered today - nearly all my GAUGEs turned
into COUNTERs (70M% was an interesting value) when I ran rrd-tune.
This brings the split() into line with that used elsewhere within the code.
--- rrd-tune.orig Thu Jul 29 05:34:31 1999
+++ rrd-tune Mon Dec 13 22:13:52 1999
@@ -113,7 +113,7 @@
my($dsnum) = 0;
my($dsname);
- foreach $dsname (split(",", $dslist)) {
+ foreach $dsname (split(/\s*,\s*/, $dslist)) {
my($ds) = $main::gCT->configHash($name, 'datasource',
lc($dsname), $target);
To allow for whitespace mangling, I've also put the patch up at
http://www.gbnet.net/~jrg/cricket/rrd-tune.diff
(and I've checked that I've got the url correct, this time)
James.
--------------------------- ONElist Sponsor ----------------------------
Hey Freelancers: Find your next project through JobSwarm!
You can even make $$$ in your sleep by referring friends.
<a href=" http://clickme.onelist.com/ad/jobswarm1 ">Click Here</a>
------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:01:07 PST