summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2007-04-10 22:14:30 (GMT)
committerdkf <dkf@noemail.net>2007-04-10 22:14:30 (GMT)
commit47e0bf852d7aae54014546835a8e7008d7e017c4 (patch)
tree5b5da613e0439951bf9fe3ac9c770454cb8219fa /generic
parentbec233c35d13e8fcbea2724f04e46c83dbfa37d9 (diff)
downloadtcl-47e0bf852d7aae54014546835a8e7008d7e017c4.zip
tcl-47e0bf852d7aae54014546835a8e7008d7e017c4.tar.gz
tcl-47e0bf852d7aae54014546835a8e7008d7e017c4.tar.bz2
Don't use C++ keywords
FossilOrigin-Name: f786756b85e5869c7217073171d39b1ef3edaba8
Diffstat (limited to 'generic')
-rw-r--r--generic/tclEncoding.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c
index 910c5a9..120bf59 100644
--- a/generic/tclEncoding.c
+++ b/generic/tclEncoding.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclEncoding.c,v 1.53 2007/04/10 14:47:13 dkf Exp $
+ * RCS: @(#) $Id: tclEncoding.c,v 1.54 2007/04/10 22:14:30 dkf Exp $
*/
#include "tclInt.h"
@@ -987,13 +987,13 @@ Tcl_CreateEncoding(
/* The encoding type. */
{
Tcl_HashEntry *hPtr;
- int new;
+ int isNew;
Encoding *encodingPtr;
char *name;
Tcl_MutexLock(&encodingMutex);
- hPtr = Tcl_CreateHashEntry(&encodingTable, typePtr->encodingName, &new);
- if (new == 0) {
+ hPtr = Tcl_CreateHashEntry(&encodingTable, typePtr->encodingName, &isNew);
+ if (isNew == 0) {
/*
* Remove old encoding from hash table, but don't delete it until last
* reference goes away.