diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-08-03 20:31:52 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-08-03 20:31:52 (GMT) |
commit | 78fb095839d48186857702fa71c1d2a9a2491091 (patch) | |
tree | 10fc440cc5e83987122da32bd142547c10a01727 | |
parent | ae1195c7201836eb432fd92b0fbd9ff9e194ac6a (diff) | |
download | tcl-78fb095839d48186857702fa71c1d2a9a2491091.zip tcl-78fb095839d48186857702fa71c1d2a9a2491091.tar.gz tcl-78fb095839d48186857702fa71c1d2a9a2491091.tar.bz2 |
Add field initialization to fix [Bug 989298]. D'oh!
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclNamesp.c | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2004-08-03 Donal K. Fellows <donal.k.fellows@man.ac.uk> + + * generic/tclNamesp.c (MakeCachedEnsembleCommand): Initialize the + epoch field cached in the subcommand. [Bug 989298] + 2004-08-02 Don Porter <dgp@users.sourceforge.net> * library/package.tcl (pkg_mkIndex): Updated [pkg_mkIndex] to diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c index d30feea..e2e2d3f 100644 --- a/generic/tclNamesp.c +++ b/generic/tclNamesp.c @@ -21,7 +21,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclNamesp.c,v 1.42 2004/08/02 20:55:38 dgp Exp $ + * RCS: @(#) $Id: tclNamesp.c,v 1.43 2004/08/03 20:31:52 dkf Exp $ */ #include "tclInt.h" @@ -5118,6 +5118,7 @@ MakeCachedEnsembleCommand(objPtr, ensemblePtr, subcommandName, prefixObjPtr) * Populate the internal rep. */ ensembleCmd->nsPtr = ensemblePtr->nsPtr; + ensembleCmd->epoch = ensemblePtr->epoch; ensemblePtr->nsPtr->refCount++; ensembleCmd->realPrefixObj = prefixObjPtr; length = strlen(subcommandName)+1; |