diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-07-24 08:29:25 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-07-24 08:29:25 (GMT) |
commit | 810eeec19d827e3162bea26dc073c0ca99819f77 (patch) | |
tree | db221ff6ab0f0d1433839ee1e0bb841a67585920 /generic/tclPkg.c | |
parent | 737c82426ba6e59611fc92d8fb623e3a181d3258 (diff) | |
parent | bb0e258bba9de0be9568baf642416f1db0b0f797 (diff) | |
download | tcl-810eeec19d827e3162bea26dc073c0ca99819f77.zip tcl-810eeec19d827e3162bea26dc073c0ca99819f77.tar.gz tcl-810eeec19d827e3162bea26dc073c0ca99819f77.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tclPkg.c')
-rw-r--r-- | generic/tclPkg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclPkg.c b/generic/tclPkg.c index 2912211..700323f 100644 --- a/generic/tclPkg.c +++ b/generic/tclPkg.c @@ -280,11 +280,11 @@ TclPkgFileSeen( if (pkgFiles && pkgFiles->names) { const char *name = pkgFiles->names->name; Tcl_HashTable *table = &pkgFiles->table; - int new; - Tcl_HashEntry *entry = Tcl_CreateHashEntry(table, name, &new); + int isNew; + Tcl_HashEntry *entry = Tcl_CreateHashEntry(table, name, &isNew); Tcl_Obj *list; - if (new) { + if (isNew) { list = Tcl_NewObj(); Tcl_SetHashValue(entry, list); Tcl_IncrRefCount(list); |