summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorcsgr <csgr@FreeBSD.org>1994-05-28 20:19:25 +0000
committercsgr <csgr@FreeBSD.org>1994-05-28 20:19:25 +0000
commitda0b50cf1513536d6463b81087fe1414c04589a8 (patch)
tree003b45458980cdf673148f5303305a0f2a511c90 /gnu
parenteb95a6d0ed3b2c216ab35e95b1c841e7af59f118 (diff)
downloadFreeBSD-src-da0b50cf1513536d6463b81087fe1414c04589a8.zip
FreeBSD-src-da0b50cf1513536d6463b81087fe1414c04589a8.tar.gz
Turn globbing on when a section number is specified, this makes things work
properly when /usr/share/man/man?/ contain gzipped unformatted pages.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/man/man/man.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/man/man/man.c b/gnu/usr.bin/man/man/man.c
index 5e7d157..262e333 100644
--- a/gnu/usr.bin/man/man/man.c
+++ b/gnu/usr.bin/man/man/man.c
@@ -1364,7 +1364,7 @@ man (name)
if (debug)
fprintf (stderr, "\nsearching in %s\n", *mp);
- glob = 0;
+ glob = 1;
found += try_section (*mp, section, name, glob);
OpenPOWER on IntegriCloud