summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-02-05 16:34:28 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-02-05 16:34:28 (GMT)
commitca5e7c5b63ce1355c653763e82f8e75f7a38d333 (patch)
treee5558e6ba229e38fdba5468a0bd49f9211a1bbab /generic/tclExecute.c
parent836fa11775ae940ca572c7c330afbae5a7632d5b (diff)
downloadtcl-ca5e7c5b63ce1355c653763e82f8e75f7a38d333.zip
tcl-ca5e7c5b63ce1355c653763e82f8e75f7a38d333.tar.gz
tcl-ca5e7c5b63ce1355c653763e82f8e75f7a38d333.tar.bz2
Revise the TclStringCat() interface to follow a common pattern.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index f2cda0c..a30ec89 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -2682,9 +2682,9 @@ TEBCresume(
case INST_STR_CONCAT1:
opnd = TclGetUInt1AtPtr(pc+1);
-
- if (TCL_OK != TclStringCatObjv(interp, /* inPlace */ 1,
- opnd, &OBJ_AT_DEPTH(opnd-1), &objResultPtr)) {
+ objResultPtr = TclStringCat(interp, opnd, &OBJ_AT_DEPTH(opnd-1),
+ TCL_STRING_IN_PLACE);
+ if (objResultPtr == NULL) {
TRACE_ERROR(interp);
goto gotError;
}