summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-02-25 09:04:26 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-02-25 09:04:26 +0000
commitbfacb919fa4e3a56243a0e6b0f79af1c851b52e7 (patch)
treebf9577d93951e5fcf961925b86707e662cbceec5 /libexec
parent6362809760d4e3dd2d38087ea18753a4efcd1102 (diff)
oops, add missing arguments in some calls.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/makewhatis/makewhatis.pl12
1 files changed, 7 insertions, 5 deletions
diff --git a/libexec/makewhatis/makewhatis.pl b/libexec/makewhatis/makewhatis.pl
index ef29797f409..0745b448cf3 100644
--- a/libexec/makewhatis/makewhatis.pl
+++ b/libexec/makewhatis/makewhatis.pl
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
# ex:ts=8 sw=4:
-# $OpenBSD: makewhatis.pl,v 1.14 2000/12/08 13:46:11 espie Exp $
+# $OpenBSD: makewhatis.pl,v 1.15 2001/02/25 09:04:25 espie Exp $
#
# Copyright (c) 2000 Marc Espie.
#
@@ -113,7 +113,7 @@ sub verify_subject
}
-# add_unformated_subject($lines, $toadd, $section):
+# add_unformated_subject($lines, $toadd, $section, $filename, $toexpand):
#
# build subject from list of $toadd lines, and add it to the list
# of current subjects as section $section
@@ -283,7 +283,8 @@ sub handle_unformated
$macro eq 'Nx' and s/^/NetBSD /;
if ($macro eq 'Nd') {
if (@keep != 0) {
- add_unformated_subject(\@lines, \@keep, $section);
+ add_unformated_subject(\@lines, \@keep,
+ $section, $filename, \%toexpand);
@keep = ();
}
push(@subject, "\\-");
@@ -298,8 +299,9 @@ sub handle_unformated
push(@subject, $_) unless m/^\s*$/;
}
unshift(@subject, @keep) if @keep != 0;
- add_unformated_subject(\@lines, \@subject, $section)
- if @subject != 0;
+ add_unformated_subject(\@lines, \@subject, $section,
+ $filename, \%toexpand)
+ if @subject != 0;
return \@lines;
}
}