diff options
author | dgp <dgp@users.sourceforge.net> | 2017-02-03 18:49:14 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2017-02-03 18:49:14 (GMT) |
commit | 44b5581c48db68ce3f99cea8e9b2140f77392dfc (patch) | |
tree | cdcbd6c4f7149fac0d700a92ce82e4111088d70a /generic/tclUtil.c | |
parent | fde54630a50333ae0f265cf1a16afedad47ad6eb (diff) | |
parent | d917353c7e3cca82100ad439880e3c2e4c33d8c7 (diff) | |
download | tcl-44b5581c48db68ce3f99cea8e9b2140f77392dfc.zip tcl-44b5581c48db68ce3f99cea8e9b2140f77392dfc.tar.gz tcl-44b5581c48db68ce3f99cea8e9b2140f77392dfc.tar.bz2 |
merge trunk
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r-- | generic/tclUtil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c index c03c2ca..bd99f1d 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.c @@ -2953,7 +2953,7 @@ Tcl_DStringGetResult( if (!iPtr->result[0] && iPtr->objResultPtr && !Tcl_IsShared(iPtr->objResultPtr)) { - if (iPtr->objResultPtr->bytes == tclEmptyStringRep) { + if (iPtr->objResultPtr->bytes == &tclEmptyString) { dsPtr->string = dsPtr->staticSpace; dsPtr->string[0] = 0; dsPtr->length = 0; @@ -2963,7 +2963,7 @@ Tcl_DStringGetResult( dsPtr->length = iPtr->objResultPtr->length; dsPtr->spaceAvl = dsPtr->length + 1; TclFreeIntRep(iPtr->objResultPtr); - iPtr->objResultPtr->bytes = tclEmptyStringRep; + iPtr->objResultPtr->bytes = &tclEmptyString; iPtr->objResultPtr->length = 0; } return; |