summaryrefslogtreecommitdiffstats
path: root/generic/tclResult.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-23 06:47:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-23 06:47:52 (GMT)
commit9c396b2aea2acea7ec6cca8a133b2434259eea5c (patch)
tree52c4c769b68c1babea5f34a51f0096a6ff4ff9bc /generic/tclResult.c
parent738eb47e4edaaf2d67f93a159f124a5306dea171 (diff)
downloadtcl-9c396b2aea2acea7ec6cca8a133b2434259eea5c.zip
tcl-9c396b2aea2acea7ec6cca8a133b2434259eea5c.tar.gz
tcl-9c396b2aea2acea7ec6cca8a133b2434259eea5c.tar.bz2
Eliminate the use of C++ keywords as variable names. Nothing more than rename the variables in something else.
Diffstat (limited to 'generic/tclResult.c')
-rw-r--r--generic/tclResult.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclResult.c b/generic/tclResult.c
index 4d14f01..6e9d4a6 100644
--- a/generic/tclResult.c
+++ b/generic/tclResult.c
@@ -832,19 +832,19 @@ SetupAppendBuffer(
totalSpace = newSpace + iPtr->appendUsed;
if (totalSpace >= iPtr->appendAvl) {
- char *new;
+ char *newSpace;
if (totalSpace < 100) {
totalSpace = 200;
} else {
totalSpace *= 2;
}
- new = ckalloc(totalSpace);
- strcpy(new, iPtr->result);
+ newSpace = ckalloc(totalSpace);
+ strcpy(newSpace, iPtr->result);
if (iPtr->appendResult != NULL) {
ckfree(iPtr->appendResult);
}
- iPtr->appendResult = new;
+ iPtr->appendResult = newSpace;
iPtr->appendAvl = totalSpace;
} else if (iPtr->result != iPtr->appendResult) {
strcpy(iPtr->appendResult, iPtr->result);