summaryrefslogtreecommitdiff
path: root/lib/libz/inflate.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-12-17 00:24:48 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-12-17 00:24:48 +0000
commita833eb464324ac2a5c5087f0aa052ff1551f9241 (patch)
treebca39126d78be3f12ceca8c79097dedc2d4c9677 /lib/libz/inflate.c
parent1e04f46ce020048cc47e8c96e4e6385e086c1224 (diff)
#ifndef SLOW for consistency with sys/lib/libz/, not used for now;
millert@ agrees
Diffstat (limited to 'lib/libz/inflate.c')
-rw-r--r--lib/libz/inflate.c4
1 files changed, 3 insertions, 1 deletions
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;