diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-05-17 11:17:27 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-05-17 11:17:27 (GMT) |
commit | 292c03d1c289ed9aae8eac6aba53c1857e4bf90d (patch) | |
tree | 9576fec9f197250b00a54b86af11f92a9921b9e3 /generic/tclInterp.c | |
parent | 53b939e3bc6f9b4995c798d45dada91369aa82ad (diff) | |
parent | af999a3a2c4770f8654059f5c5b50d766cc88c7f (diff) | |
download | tcl-292c03d1c289ed9aae8eac6aba53c1857e4bf90d.zip tcl-292c03d1c289ed9aae8eac6aba53c1857e4bf90d.tar.gz tcl-292c03d1c289ed9aae8eac6aba53c1857e4bf90d.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tclInterp.c')
-rw-r--r-- | generic/tclInterp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclInterp.c b/generic/tclInterp.c index ee38356..8f30128 100644 --- a/generic/tclInterp.c +++ b/generic/tclInterp.c @@ -2322,7 +2322,7 @@ GetInterp( Tcl_Interp *searchInterp; /* Interim storage for interp. to find. */ InterpInfo *parentInfoPtr; - if (TclListObjGetElements(interp, pathPtr, &objc, &objv) != TCL_OK) { + if (TclListObjGetElementsM(interp, pathPtr, &objc, &objv) != TCL_OK) { return NULL; } @@ -2378,7 +2378,7 @@ ChildBgerror( if (objc) { int length; - if (TCL_ERROR == TclListObjLength(NULL, objv[0], &length) + if (TCL_ERROR == TclListObjLengthM(NULL, objv[0], &length) || (length < 1)) { Tcl_SetObjResult(interp, Tcl_NewStringObj( "cmdPrefix must be list of length >= 1", -1)); @@ -2425,7 +2425,7 @@ ChildCreate( int isNew, objc; Tcl_Obj **objv; - if (TclListObjGetElements(interp, pathPtr, &objc, &objv) != TCL_OK) { + if (TclListObjGetElementsM(interp, pathPtr, &objc, &objv) != TCL_OK) { return NULL; } if (objc < 2) { |