summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-13 09:45:57 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-13 09:45:57 (GMT)
commit9cc68bccbf2916d0295cdfcb5db818c22c0da154 (patch)
treef139c8175f4a5b8428a0ae29570be55f28d47480 /generic/tclIO.c
parent26619872a685f373c6fa06066eb03c5da5951bfa (diff)
downloadtcl-9cc68bccbf2916d0295cdfcb5db818c22c0da154.zip
tcl-9cc68bccbf2916d0295cdfcb5db818c22c0da154.tar.gz
tcl-9cc68bccbf2916d0295cdfcb5db818c22c0da154.tar.bz2
Restore TclListObjLength()/TclListObjGetElements() macro's, as they were in 8.6
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 7e7d88c..15e0785 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -11394,7 +11394,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");
}