[BACK]Return to gzip.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.bin / gzip

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.bin/gzip/gzip.c between version 1.86 and 1.87

version 1.86, 2006/10/13 20:16:32 version 1.87, 2006/10/13 20:17:46
Line 753  gz_uncompress(int in, int out, char *pre
Line 753  gz_uncompress(int in, int out, char *pre
                 switch (state) {                  switch (state) {
                 case GZSTATE_MAGIC0:                  case GZSTATE_MAGIC0:
                         if (*z.next_in != GZIP_MAGIC0) {                          if (*z.next_in != GZIP_MAGIC0) {
                                   if (in_tot > 0) {
                                           maybe_warnx("%s: trailing garbage ignored", filename);
                                           goto stop;
                                   }
                                 maybe_warnx("input not gziped (MAGIC0)");                                  maybe_warnx("input not gziped (MAGIC0)");
                                 goto stop_and_fail;                                  goto stop_and_fail;
                         }                          }

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87

CVSweb <webmaster@jp.NetBSD.org>