* util.h: Rename compression types, add a type for uncompressed
commit3860ff7b34ee398322c9b5ef59a7fbf649739e97
authorPavel Roskin <proski@gnu.org>
Tue, 2 Jul 2002 21:09:25 +0000 (2 21:09 +0000)
committerPavel Roskin <proski@gnu.org>
Tue, 2 Jul 2002 21:09:25 +0000 (2 21:09 +0000)
treeb7ec16637b61297fc0bdef99a232d3fa4863fbc0
parentc8ef2d7ace0930456c5083d5e8b8e646692426d5
* util.h: Rename compression types, add a type for uncompressed
files.
* util.c (is_gunzipable): Rename to ...
(get_compression_type): this.  Don't check archive length, since
it's unreliable if there is padding at the end of the file.
Eliminate prehistoric Linux workaround.  All callers adjusted.

* utilunix.c (close_error_pipe): Use "%s" in message () to
prevent possible crash.
(check_error_pipe): Likewise.
src/ChangeLog
src/util.c
src/util.h
src/view.c