gzip: port gzip -rf to ZFS
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Apr 2012 16:16:17 +0000 (09:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Apr 2012 16:17:13 +0000 (09:17 -0700)
commite416d27cbfec019ef869ca950211aac28470ca7e
tree8001d23e6dd3b632ff9b713b4ae9574b45e74cac
parent0a284baeaedca68017f46d2646e4c921aa98a90d
gzip: port gzip -rf to ZFS

Problem reported privately by Rich Burridge.
* bootstrap.conf: Add savedir.
* gzip.c: Include <savedir.h>.
(_D_EXACT_NAMELEN): Remove.
(treat_dir): Use savedir rather than reading directory entries one
at a time, to avoid revisiting an already-compressed file when using
ZFS and the -rf flags are specified.
* lib/.gitignore, m4/.gitignore: Ignore savedir-related files.
bootstrap.conf
gzip.c
lib/.gitignore
m4/.gitignore