From: mickey Date: Sat, 15 Feb 1997 21:38:26 +0000 (+0000) Subject: SAVE_MEMORY even more X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b159ff850285b92b3c41258648916f4f834a9dd5;p=openbsd SAVE_MEMORY even more --- diff --git a/sys/lib/libsa/cread.c b/sys/lib/libsa/cread.c index 93e9204f413..66870baf644 100644 --- a/sys/lib/libsa/cread.c +++ b/sys/lib/libsa/cread.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cread.c,v 1.4 1997/02/06 22:57:03 downsj Exp $ */ +/* $OpenBSD: cread.c,v 1.5 1997/02/15 21:38:26 mickey Exp $ */ /* $NetBSD: cread.c,v 1.2 1997/02/04 18:38:20 thorpej Exp $ */ /* @@ -196,7 +196,11 @@ open(fname, mode) if(!s) goto errout; bzero(s, sizeof(struct sd)); +#ifdef SAVE_MEMORY + if(inflateInit2(&(s->stream), -11) != Z_OK) +#else if(inflateInit2(&(s->stream), -15) != Z_OK) +#endif goto errout; s->stream.next_in = s->inbuf = (unsigned char*)alloc(Z_BUFSIZE);