[BACK]Return to gzopen.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / compress

Diff for /src/usr.bin/compress/gzopen.c between version 1.8 and 1.9

version 1.8, 2003/06/27 19:29:45 version 1.9, 2003/06/29 21:14:37
Line 372 
Line 372 
                             (uInt)(s->z_stream.next_out - start));                              (uInt)(s->z_stream.next_out - start));
                         start = s->z_stream.next_out;                          start = s->z_stream.next_out;
   
                         if (get_int32(s) != s->z_crc ||                          if (get_int32(s) != s->z_crc) {
                             get_int32(s) != s->z_stream.total_out) {                                  errno = EINVAL;
                                   return -1;
                           }
                           if (get_int32(s) != s->z_stream.total_out) {
                                 errno = EIO;                                  errno = EIO;
                                 return -1;                                  return -1;
                         }                          }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9