Forwarding on to the group while Tobi is out...

-----Original Message-----
From: Curtis Doty [mailto:[EMAIL PROTECTED]
Sent: Thu, 26 October 2000 8:31 PM
To: Tobias Oetiker
Cc: [EMAIL PROTECTED]
Subject: cfgmaker 2.9.3 hicup


Aiii! This innocent looking trailing whitespace in cfgmaker gobbled up all
the ram on my linux box and produced some whacky results.

Normally I send you a `diff -ub yada yada` but here's a case for just
`diff -u`.

--- /home/curtis/src/mrtg-2.9.3/bin/cfgmaker    Thu Oct 26 20:14:58 2000
+++ /usr/local/mrtg-2/bin/cfgmaker      Thu Oct 26 20:18:34 2000
@@ -334,10 +334,10 @@
 ${c}   <TR><TD>Description:</TD><TD>$$i{RDescr} $$i{ifAlias}
$$i{CiscolocIfDescr}</TD></TR>
 ${c}   <TR><TD>ifType:</TD>     <TD>$iftype ($$i{ifType})</TD></TR>
 ${c}   <TR><TD>ifName:</TD>     <TD>$$i{RName}</TD></TR>
-ECHO
+ECHO
              $conf .= <<ECHO if defined $portname;
 ${c}   <TR><TD>Port Name:</TD>  <TD>$portname</TD></TR>
-ECHO
+ECHO
              $conf .= <<ECHO;
 ${c}   <TR><TD>Max Speed:</TD>  <TD>$speed_str</TD></TR>
 ECHO

Look closely at the spaces behind the old ECHO lines. `s/\s$//`!

../C


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/mrtg-developers

Reply via email to