[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.3 and 1.4

version 1.3, 2002/02/16 21:27:45 version 1.4, 2002/08/12 00:42:56
Line 135 
Line 135 
                 errno = EINVAL;                  errno = EINVAL;
                 return NULL;                  return NULL;
         }          }
         if ((s = (gz_stream *)calloc(sizeof(gz_stream), 1)) == NULL)          if ((s = (gz_stream *)calloc(1, sizeof(gz_stream))) == NULL)
                 return NULL;                  return NULL;
   
         s->z_stream.zalloc = (alloc_func)0;          s->z_stream.zalloc = (alloc_func)0;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4