diff options
author | Niko Tyni <ntyni@iki.fi> | 2005-08-05 22:43:55 +0200 |
---|---|---|
committer | Niko Tyni <ntyni@iki.fi> | 2005-08-05 22:43:55 +0200 |
commit | 237c2131e3f216eccd4b472e456d16f4dbe20456 (patch) | |
tree | abb71a7ee847274e92f84ff53b5be6e7a89483cd /lib/Config | |
parent | caea6ae36aaacadab7029f172821899d237108f4 (diff) | |
download | smokeping-237c2131e3f216eccd4b472e456d16f4dbe20456.tar.gz smokeping-237c2131e3f216eccd4b472e456d16f4dbe20456.tar.xz |
* remove a quotemeta() call in Config::Grammar to allow metacharacters
at the right side of '@define'
-- niko, reported by Warrick FitzGerald <lists.smokeping.wfitzgerald *crtman.com>
Diffstat (limited to 'lib/Config')
-rw-r--r-- | lib/Config/Grammar.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Config/Grammar.pm b/lib/Config/Grammar.pm index 5bc76a3..7cd71f1 100644 --- a/lib/Config/Grammar.pm +++ b/lib/Config/Grammar.pm @@ -587,7 +587,7 @@ sub _parse_line($$$) return 1; }; /^\@define\s+(\S+)\s+(.*)$/ and do { - $self->{defines}{$1}=quotemeta $2; + $self->{defines}{$1}=$2; return 1; }; |