tiff/lzw: sync (again) to the upstream lzw in the stdlib.
I somehow missed this in the previous change. Not sure how. Change-Id: Ib9277944418a73cda6acc07fc308d846b4064b9e Reviewed-on: https://go-review.googlesource.com/11321 Reviewed-by: Nigel Tao <nigeltao@golang.org>
This commit is contained in:
parent
ef56035c4b
commit
eb11b45157
|
@ -228,7 +228,7 @@ func (d *decoder) flush() {
|
||||||
d.o = 0
|
d.o = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
var errClosed = errors.New("compress/lzw: reader/writer is closed")
|
var errClosed = errors.New("lzw: reader/writer is closed")
|
||||||
|
|
||||||
func (d *decoder) Close() error {
|
func (d *decoder) Close() error {
|
||||||
d.err = errClosed // in case any Reads come along
|
d.err = errClosed // in case any Reads come along
|
||||||
|
|
Loading…
Reference in New Issue
Block a user