gzip: make the GZIP env var obsolescent
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 16 Mar 2015 21:25:17 +0000 (14:25 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 17 Mar 2015 17:53:02 +0000 (10:53 -0700)
commit5054e88a7934d5ff5ec14231c8b8676161bb45fa
treee8e0158bdee3a455380cb79acf28944832ae50b3
parentf59030d78f37a625e4f27de94490ce5b45228141
gzip: make the GZIP env var obsolescent

* NEWS, gzip.1:
* doc/gzip.texi (Environment, Tapes): Document this.
* gzip.c (args): Remove static var; no longer needed now that
'main' frees it.  All uses removed.
(ENV_OPTION, shortopts): New constants.
(main): Warn about nontrivial uses of GZIP.  Reject dangerous uses.
* tests/gzip-env: New test case.
* tests/Makefile.am (TESTS): Add it.
* util.c (add_envopt): Create new vector instead of adding to old
one.  Only use changed.
NEWS
doc/gzip.texi
gzip.1
gzip.c
tests/Makefile.am
tests/gzip-env [new file with mode: 0755]
util.c