From a833eb464324ac2a5c5087f0aa052ff1551f9241 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Wed, 17 Dec 2003 00:24:48 +0000 Subject: #ifndef SLOW for consistency with sys/lib/libz/, not used for now; millert@ agrees --- lib/libz/inflate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libz/inflate.c') diff --git a/lib/libz/inflate.c b/lib/libz/inflate.c index 290892de3de..adf7f2d6f91 100644 --- a/lib/libz/inflate.c +++ b/lib/libz/inflate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inflate.c,v 1.4 2003/12/16 22:33:02 henning Exp $ */ +/* $OpenBSD: inflate.c,v 1.5 2003/12/17 00:24:47 henning Exp $ */ /* inflate.c -- zlib decompression * Copyright (C) 1995-2003 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h @@ -885,12 +885,14 @@ int flush; Tracev((stderr, "inflate: codes ok\n")); state->mode = LEN; case LEN: +#ifndef SLOW if (have >= 6 && left >= 258) { RESTORE(); inflate_fast(strm, out); LOAD(); break; } +#endif for (;;) { this = state->lencode[BITS(state->lenbits)]; if ((unsigned)(this.bits) <= bits) break; -- cgit v1.2.3