diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:07:35 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:07:35 -0700 |
commit | 1c71d8b13b54f91ddec361d3053ecce26e6ff761 (patch) | |
tree | 84f806bb79cc8c7458ddbd7b5402dbf1eec76dd4 /gzio.c | |
parent | 64b2e892035cf6ea98800c54dce0d63730d50272 (diff) | |
download | zlib-1c71d8b13b54f91ddec361d3053ecce26e6ff761.tar.gz |
zlib 0.91v0.91
Diffstat (limited to 'gzio.c')
-rw-r--r-- | gzio.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ * For conditions of distribution and use, see copyright notice in zlib.h */ -/* $Id: gzio.c,v 1.6 1995/04/30 19:52:21 jloup Exp $ */ +/* $Id: gzio.c,v 1.7 1995/05/02 12:22:08 jloup Exp $ */ #include <stdio.h> @@ -128,7 +128,7 @@ local gzFile gz_open (path, mode, fd) if (s->mode == 'w') { err = deflateInit2(&(s->stream), Z_DEFAULT_COMPRESSION, - DEFLATED, -MAX_WBITS, MAX_MEM_LEVEL, 0); + DEFLATED, -MAX_WBITS, DEF_MEM_LEVEL, 0); /* windowBits is passed < 0 to suppress zlib header */ s->stream.next_out = s->outbuf = ALLOC(Z_BUFSIZE); @@ -221,7 +221,7 @@ gzFile gzdopen (fd, mode) char *mode; { char name[20]; - sprintf(name, "_fd:%d_", fd); /* for debugging */ + sprintf(name, "<fd:%d>", fd); /* for debugging */ return gz_open (name, mode, fd); } |