]> git.gag.com Git - debian/gzip/commit
Decode FHCRC flag properly, as per Internet RFC 1952.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 3 Jul 2010 03:41:11 +0000 (20:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 3 Jul 2010 03:41:11 +0000 (20:41 -0700)
commit97e225c0e8ee24f3fc9ff7c5cec63e74aefbb6a0
treece54960fced49dbfa7d3b78987d3e137cfc8e7b5
parentbdb53ef1b17916cd039cc830280a1b453a7090d8
Decode FHCRC flag properly, as per Internet RFC 1952.

Problem reported by Greg Roelofs in:
http://lists.gnu.org/archive/html/bug-gzip/2010-06/msg00003.html

* gzip.c (discard_input_bytes): New function.
(get_method): Check header checksum, if given.  We never generate it,
but other programs may.
* gzip.h (HEADER_CRC): Renamed from CONTINUATION.  All uses changed.
* tailor.h [defined __50SERIES]: Remove PRIMOS stuff that was obsolete
anyway and would have made this patch harder to maintain.
(get_char, put_char): Remove.
* zip.c (zip): Use put_byte instead of the now-removed put_char.
gzip.c
gzip.h
tailor.h
zip.c