summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-12 21:24:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-12 21:24:14 (GMT)
commit3b079f137c6a1a8776a9696cbbac0ff4d4b9cedc (patch)
tree448e0e818cab2430c5c59271e31123d787f132b2 /generic/tclIO.c
parentb2a28063811abb4c3bbe540d8e42b24c571b4588 (diff)
downloadtcl-3b079f137c6a1a8776a9696cbbac0ff4d4b9cedc.zip
tcl-3b079f137c6a1a8776a9696cbbac0ff4d4b9cedc.tar.gz
tcl-3b079f137c6a1a8776a9696cbbac0ff4d4b9cedc.tar.bz2
Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too.
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r--generic/tclIO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index c44329e..75427de 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -11181,7 +11181,7 @@ FixLevelCode(
* information. Hence an error means that we've got serious breakage.
*/
- res = TclListObjGetElementsM(NULL, msg, &lc, &lv);
+ res = TclListObjGetElements(NULL, msg, &lc, &lv);
if (res != TCL_OK) {
Tcl_Panic("Tcl_SetChannelError: bad syntax of message");
}