Return to gzopen.c CVS log | Up to [local] / src / usr.bin / compress |
version 1.3, 2002/02/16 21:27:45 | version 1.4, 2002/08/12 00:42:56 | ||
---|---|---|---|
|
|
||
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; |