summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2009-12-13 13:01:07 +0100
committerNiko Tyni <ntyni@iki.fi>2009-12-13 13:01:07 +0100
commitdecdf04f8089301848801650957b951c85a9cb91 (patch)
treed15b331de36a0af11a6858b3af0628237bba2409 /util
parent0763259d1aeab109b9396e486ff2e106147174e1 (diff)
downloadsmokeping-decdf04f8089301848801650957b951c85a9cb91.tar.gz
smokeping-decdf04f8089301848801650957b951c85a9cb91.tar.xz
make the build system compatible with HTML::Parser >= 3.64
reported as Debian bug #560562
Diffstat (limited to 'util')
-rwxr-xr-xutil/fix-pod2html.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/fix-pod2html.pl b/util/fix-pod2html.pl
index fa51400..ff0176e 100755
--- a/util/fix-pod2html.pl
+++ b/util/fix-pod2html.pl
@@ -22,7 +22,7 @@ my $p = HTML::Parser->new(api_version => 3);
$p->handler(start => \&startsub, 'tagname, text');
$p->handler(end => \&endsub, 'tagname, text');
$p->handler(default => sub { print shift() }, 'text');
-$p->parse_file(shift||"-") or die("parse: $!");
+$p->parse_file(shift||\*STDIN) or die("parse: $!");
my @stack;
my $a=0;