From cb34f5c357d0f52f57825bf7d3f4215ae8ef3f04 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 30 Jan 2012 13:24:20 -0500 Subject: [PATCH] compress/flate: undo misuse of skipNever I assume this was a too aggressive search-and-replace. R=imkrasin CC=golang-dev https://golang.org/cl/5580047 --- src/pkg/compress/flate/deflate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/compress/flate/deflate.go b/src/pkg/compress/flate/deflate.go index 1e725890b73..8505da706c9 100644 --- a/src/pkg/compress/flate/deflate.go +++ b/src/pkg/compress/flate/deflate.go @@ -102,7 +102,7 @@ func (d *compressor) fillDeflate(b []byte) int { if d.blockStart >= windowSize { d.blockStart -= windowSize } else { - d.blockStart = skipNever + d.blockStart = math.MaxInt32 } d.hashOffset += windowSize }