mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 02:22:43 +00:00
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:
parent
6ccf134528
commit
d0010c62b2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178994
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user