[openfirmware] [commit] r2119 - forth/wrapper/zip

repository service svn at openfirmware.info
Wed Jan 19 08:05:14 CET 2011


Author: wmb
Date: Wed Jan 19 08:05:12 2011
New Revision: 2119
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2119

Log:
inflate.c - removed a small vestige of GPL code (a single #define) so the code is clean - based on stuff that Mark Adler's put in the public domain.

Modified:
   forth/wrapper/zip/inflate.c

Modified: forth/wrapper/zip/inflate.c
==============================================================================
--- forth/wrapper/zip/inflate.c	Tue Jan 18 22:41:32 2011	(r2118)
+++ forth/wrapper/zip/inflate.c	Wed Jan 19 08:05:12 2011	(r2119)
@@ -70,12 +70,6 @@
    [OK: Changes for Open Firmware by Mike Tuciarone, June 1994.]
  */
 
-/* gzip.h -- common declarations for all gzip modules
- * Copyright (C) 1992-1993 Jean-loup Gailly.
- * This is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License, see the file COPYING.
- */
-
 #define u_long  unsigned long
 #define u_short unsigned short
 #define u_char  unsigned char
@@ -86,8 +80,7 @@
 static int huft_fixed();
 static int huft_dynamic();
 
-/* gzip flag byte */
-#define ORIG_NAME    0x08 /* bit 3 set: original file name present */
+#define FILENAME_PRESENT    0x08 /* flag byte bit meaning filename follows */
 
 /* ROM
  * Workspace definitions
@@ -207,7 +200,7 @@
             flags = NEXTBYTE;
             for (n = 0; n < 6; ++n)
 		(void) NEXTBYTE;
-            if (flags & ORIG_NAME)
+            if (flags & FILENAME_PRESENT)
 		while (NEXTBYTE)
                     ;
          }



More information about the openfirmware mailing list