X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=unzip.c;h=55185a95c8974a81dff4a2e035df030e4d86e51f;hb=1818209f5c4879522d69a09bedb0553543d6889e;hp=d78bf2525876500d5159a1acf06a0659ad6287e7;hpb=0d5a754ba8f2cc33e98d48d559f0ad6cd18a43a3;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 */