Changeset 2119


Ignore:
Timestamp:
Jan 19, 2011, 8:05:12 AM (4 years ago)
Author:
wmb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • forth/wrapper/zip/inflate.c

    r2097 r2119  
    7171 */ 
    7272 
    73 /* gzip.h -- common declarations for all gzip modules 
    74  * Copyright (C) 1992-1993 Jean-loup Gailly. 
    75  * This is free software; you can redistribute it and/or modify it under the 
    76  * terms of the GNU General Public License, see the file COPYING. 
    77  */ 
    78  
    7973#define u_long  unsigned long 
    8074#define u_short unsigned short 
     
    8781static int huft_dynamic(); 
    8882 
    89 /* gzip flag byte */ 
    90 #define ORIG_NAME    0x08 /* bit 3 set: original file name present */ 
     83#define FILENAME_PRESENT    0x08 /* flag byte bit meaning filename follows */ 
    9184 
    9285/* ROM 
     
    208201            for (n = 0; n < 6; ++n) 
    209202                (void) NEXTBYTE; 
    210             if (flags & ORIG_NAME) 
     203            if (flags & FILENAME_PRESENT) 
    211204                while (NEXTBYTE) 
    212205                    ; 
Note: See TracChangeset for help on using the changeset viewer.