summaryrefslogtreecommitdiffstats
path: root/generic/tclEncoding.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-04-10 22:14:30 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-04-10 22:14:30 (GMT)
commit898206cbae7c75188c31370f310b214781c09c33 (patch)
tree5b5da613e0439951bf9fe3ac9c770454cb8219fa /generic/tclEncoding.c
parent88859fae2bfc2c39224321059df22e36f6bd78bd (diff)
downloadtcl-898206cbae7c75188c31370f310b214781c09c33.zip
tcl-898206cbae7c75188c31370f310b214781c09c33.tar.gz
tcl-898206cbae7c75188c31370f310b214781c09c33.tar.bz2
Don't use C++ keywords
Diffstat (limited to 'generic/tclEncoding.c')
-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.