Add support for bzip2-compressed manpages.

PR:		bin/120730
Submitted by:	ighighi AT gmail DOT com
MFC after:	1 week
This commit is contained in:
Ruslan Ermilov 2008-05-14 17:18:12 +00:00
parent 6ccf134528
commit d0010c62b2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178994

View File

@ -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;