summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-02-11 18:48:44 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-02-11 18:48:44 +0000
commit9122d1bb12ef583185b4018ce75161ab6345c835 (patch)
tree1c24b5b10e0e68a94122dae13f1facf04047f131 /libexec
parent9e3d280faaa9849cbdc0dc3bd88c06b10534a8db (diff)
more accurate .so test.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/makewhatis/makewhatis.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/makewhatis/makewhatis.pl b/libexec/makewhatis/makewhatis.pl
index f38b6714221..6ee74ec8f42 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.26 2004/02/10 18:54:57 espie Exp $
+# $OpenBSD: makewhatis.pl,v 1.27 2004/02/11 18:48:43 espie Exp $
#
# Copyright (c) 2000 Marc Espie.
#
@@ -243,7 +243,7 @@ sub handle_unformated
next;
}
# Some cross-refs just link to another manpage
- $so_found = 1 if m/\.so/;
+ $so_found = 1 if m/^\.\s*so/;
if (m/^\.\s*TH/ || m/^\.\s*th/) {
# in pricky mode, we should try to match these
# ($name2, $section2) = m/^\.(?:TH|th)\s+(\S+)\s+(\S+)/;