summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-14 17:54:44 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-14 17:54:44 +0000
commit1e7f876bc034197271a83372cbc1a461d0516082 (patch)
treea3a8747f83d41071e38077639db79b4eeccd9f25
parent492dcc2fc3fbf42e39af2ee6ca084f6f3d33ecf0 (diff)
downloadFreeBSD-src-1e7f876bc034197271a83372cbc1a461d0516082.zip
FreeBSD-src-1e7f876bc034197271a83372cbc1a461d0516082.tar.gz
This patch teaches info to read gzipped files (emacs info already
works) so one can gzip files in /usr/share/info and save a few megabytes diskspace. Submitted by: Kai Vorma <vode@snakemail.hut.fi>
-rw-r--r--gnu/usr.bin/texinfo/info/filesys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/texinfo/info/filesys.c b/gnu/usr.bin/texinfo/info/filesys.c
index 8c2cf646..0793591 100644
--- a/gnu/usr.bin/texinfo/info/filesys.c
+++ b/gnu/usr.bin/texinfo/info/filesys.c
@@ -76,6 +76,7 @@ static char *info_suffixes[] = {
static COMPRESSION_ALIST compress_suffixes[] = {
{ ".Z", "uncompress" },
{ ".Y", "unyabba" },
+ { ".gz", "gunzip" },
{ ".z", "gunzip" },
{ (char *)NULL, (char *)NULL }
};
OpenPOWER on IntegriCloud