X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=inflate.c;h=d372685ae995102255010a612a3b156c7aa0b752;hb=8f06a4236e1807caa727ed306216c6a0aea026f0;hp=0d4d14b39135dc6369295c5631000356c4058c69;hpb=d57728a6ca2413a7c564d8b7bb13d9e5a5a180f3;p=debian%2Fgzip diff --git a/inflate.c b/inflate.c index 0d4d14b..d372685 100644 --- a/inflate.c +++ b/inflate.c @@ -1,6 +1,6 @@ /* Inflate deflated data - Copyright (C) 1997-1999, 2002, 2006, 2009-2013 Free Software Foundation, + Copyright (C) 1997-1999, 2002, 2006, 2009-2018 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -116,10 +116,10 @@ */ #include -#include "tailor.h" #include +#include "tailor.h" #include "gzip.h" #define slide window @@ -219,13 +219,7 @@ static ush mask_bits[] = { #define GETBYTE() (inptr < insize ? inbuf[inptr++] : (wp = w, fill_inbuf(0))) -#ifdef CRYPT - uch cc; -# define NEXTBYTE() \ - (decrypt ? (cc = GETBYTE(), zdecode(cc), cc) : GETBYTE()) -#else -# define NEXTBYTE() (uch)GETBYTE() -#endif +#define NEXTBYTE() (uch)GETBYTE() #define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE())<>=(n);k-=(n);}