summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-17 12:50:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-17 12:50:28 (GMT)
commitb76f1c40a2a36ffe42405e3f45cfef5b9cc9d441 (patch)
tree320c57b53c7d114fe3b77003877d1e5d297ec3f4 /generic/tclZlib.c
parent2c603a6a0f21a7c2eadaad5c05dde221d46699c0 (diff)
parentaf999a3a2c4770f8654059f5c5b50d766cc88c7f (diff)
downloadtcl-b76f1c40a2a36ffe42405e3f45cfef5b9cc9d441.zip
tcl-b76f1c40a2a36ffe42405e3f45cfef5b9cc9d441.tar.gz
tcl-b76f1c40a2a36ffe42405e3f45cfef5b9cc9d441.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclZlib.c')
-rw-r--r--generic/tclZlib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c
index 6a9a38a..f6d7660 100644
--- a/generic/tclZlib.c
+++ b/generic/tclZlib.c
@@ -1370,7 +1370,7 @@ Tcl_ZlibStreamGet(
Tcl_DecrRefCount(zshPtr->currentInput);
zshPtr->currentInput = NULL;
}
- TclListObjLength(NULL, zshPtr->inData, &listLen);
+ TclListObjLengthM(NULL, zshPtr->inData, &listLen);
if (listLen > 0) {
/*
* There is more input available, get it from the list and
@@ -1419,7 +1419,7 @@ Tcl_ZlibStreamGet(
e = inflate(&zshPtr->stream, zshPtr->flush);
}
};
- TclListObjLength(NULL, zshPtr->inData, &listLen);
+ TclListObjLengthM(NULL, zshPtr->inData, &listLen);
while ((zshPtr->stream.avail_out > 0)
&& (e == Z_OK || e == Z_BUF_ERROR) && (listLen > 0)) {
@@ -1499,7 +1499,7 @@ Tcl_ZlibStreamGet(
inflateEnd(&zshPtr->stream);
}
} else {
- TclListObjLength(NULL, zshPtr->outData, &listLen);
+ TclListObjLengthM(NULL, zshPtr->outData, &listLen);
if (count == -1) {
count = 0;
for (i=0; i<listLen; i++) {
@@ -1521,7 +1521,7 @@ Tcl_ZlibStreamGet(
dataPtr += existing;
while ((count > dataPos) &&
- (TclListObjLength(NULL, zshPtr->outData, &listLen) == TCL_OK)
+ (TclListObjLengthM(NULL, zshPtr->outData, &listLen) == TCL_OK)
&& (listLen > 0)) {
/*
* Get the next chunk off our list of chunks and grab the data out