summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-01 21:09:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-01 21:09:13 (GMT)
commit91726f2a230497571abc2e7b8b5857e394d91337 (patch)
tree50233069bb0ae4f46d3557d09bbf398427c1f84a /generic
parent03fb2f516a013339b34c6bb52abf8df103093aec (diff)
downloadtcl-91726f2a230497571abc2e7b8b5857e394d91337.zip
tcl-91726f2a230497571abc2e7b8b5857e394d91337.tar.gz
tcl-91726f2a230497571abc2e7b8b5857e394d91337.tar.bz2
bug-3530536
Diffstat (limited to 'generic')
-rw-r--r--generic/tclZlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c
index 84a81f8..0ff8b50 100644
--- a/generic/tclZlib.c
+++ b/generic/tclZlib.c
@@ -537,6 +537,7 @@ Tcl_ZlibStreamInit(
zshPtr->currentInput = NULL;
zshPtr->streamEnd = 0;
memset(&zshPtr->stream, 0, sizeof(z_stream));
+ zshPtr->stream.adler = 1;
/*
* No output buffer available yet