From b159ff850285b92b3c41258648916f4f834a9dd5 Mon Sep 17 00:00:00 2001 From: mickey Date: Sat, 15 Feb 1997 21:38:26 +0000 Subject: [PATCH] SAVE_MEMORY even more --- sys/lib/libsa/cread.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- 2.20.1