X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=unzip.c;h=55185a95c8974a81dff4a2e035df030e4d86e51f;hb=ca6c1bec98588ef31935fc81f4da48abb0bc125e;hp=d78bf2525876500d5159a1acf06a0659ad6287e7;hpb=e7921f54c622e3b32e525f345bc34308821e4ae0;p=debian%2Fgzip diff --git a/unzip.c b/unzip.c index d78bf25..55185a9 100644 --- a/unzip.c +++ b/unzip.c @@ -1,11 +1,11 @@ /* unzip.c -- decompress files in gzip or pkzip format. - Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1997-1999, 2009-2010 Free Software Foundation, Inc. Copyright (C) 1992-1993 Jean-loup Gailly This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) + the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -28,10 +28,6 @@ either deflated or stored. */ -#ifdef RCSID -static char rcsid[] = "$Id: unzip.c,v 1.4 2006/11/20 08:40:34 eggert Exp $"; -#endif - #include #include "tailor.h" #include "gzip.h" @@ -43,7 +39,7 @@ static char rcsid[] = "$Id: unzip.c,v 1.4 2006/11/20 08:40:34 eggert Exp $"; #define CRPFLG 1 /* bit for encrypted entry */ #define EXTFLG 8 /* bit for extended local header */ #define LOCHOW 8 /* offset of compression method */ -#define LOCTIM 10 /* file mod time (for decryption) */ +/* #define LOCTIM 10 UNUSED file mod time (for decryption) */ #define LOCCRC 14 /* offset of crc */ #define LOCSIZ 18 /* offset of compressed size */ #define LOCLEN 22 /* offset of uncompressed length */