diff options
author | ru <ru@FreeBSD.org> | 2008-05-14 17:18:12 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2008-05-14 17:18:12 +0000 |
commit | 8a63cc8d3e9a3efa8540294e8e06fbb5b77e597d (patch) | |
tree | b4c438b326a4a96333cc21e275b9f6649e4301ee | |
parent | 0cdbf64f06e0e5edab127c551595a705f461bcad (diff) | |
download | FreeBSD-src-8a63cc8d3e9a3efa8540294e8e06fbb5b77e597d.zip FreeBSD-src-8a63cc8d3e9a3efa8540294e8e06fbb5b77e597d.tar.gz |
Add support for bzip2-compressed manpages.
PR: bin/120730
Submitted by: ighighi AT gmail DOT com
MFC after: 1 week
-rw-r--r-- | gnu/usr.bin/man/man/man.c | 2 |
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 721c5e6..1703a5b 100644 --- a/gnu/usr.bin/man/man/man.c +++ b/gnu/usr.bin/man/man/man.c @@ -833,7 +833,7 @@ get_expander (file) return YCAT; #endif /* YCAT */ #ifdef ZCAT - if (*end == 'Z' || !strcmp(end, "gz")) + if (*end == 'Z' || !strcmp(end, "gz") || !strcmp(end, "bz2")) return ZCAT; #endif /* ZCAT */ return NULL; |