diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-12 21:24:14 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-12 21:24:14 (GMT) |
| commit | 29b5db9e2cd306c8a0fb7ae2b1fd6d2515cee68f (patch) | |
| tree | 448e0e818cab2430c5c59271e31123d787f132b2 /generic/tclUtil.c | |
| parent | 13caf4c498dbf7656147c39b2f3626321b257829 (diff) | |
| download | tcl-29b5db9e2cd306c8a0fb7ae2b1fd6d2515cee68f.zip tcl-29b5db9e2cd306c8a0fb7ae2b1fd6d2515cee68f.tar.gz tcl-29b5db9e2cd306c8a0fb7ae2b1fd6d2515cee68f.tar.bz2 | |
Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too.
Diffstat (limited to 'generic/tclUtil.c')
| -rw-r--r-- | generic/tclUtil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c index 05b0599..99d1010 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.c @@ -3533,7 +3533,7 @@ GetEndOffsetFromObj( if ((TclMaxListLength(bytes, TCL_INDEX_NONE, NULL) > 1) /* If it's possible, do the full list parse. */ - && (TCL_OK == TclListObjLengthM(NULL, objPtr, &length)) + && (TCL_OK == TclListObjLength(NULL, objPtr, &length)) && (length > 1)) { goto parseError; } |
