[Mon-devel] Today's Mon 1.1 nits
Brought to you by:
trockij
From: Ed R. <er...@pa...> - 2005-02-17 00:41:07
|
This is a problem in Mon 1.0 also - that extra backslash shouldn't be there: -if ($^O eq "linux" || $^O =~ /^(open|free|net)bsd\$/ || $^O eq "aix") +if ($^O eq "linux" || $^O =~ /^(open|free|net)bsd$/ || $^O eq "aix") Without this fix syslog goes to UDP (and therefore gets lost) on the BSDs. ------------------------ This is a feature I added to allow the user to define a different path for the M4 processor. I'm probably the only person who needs this, so it doesn't need to go into 1.0: - if (!open (CFG, "m4 $CF |")); + if (!open (CFG, + (exists($ENV{'MON_M4'}) ? $ENV{'MON_M4'} : "m4") . " $CF |") ); |