summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-08-03 20:31:52 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-08-03 20:31:52 (GMT)
commit78fb095839d48186857702fa71c1d2a9a2491091 (patch)
tree10fc440cc5e83987122da32bd142547c10a01727 /generic
parentae1195c7201836eb432fd92b0fbd9ff9e194ac6a (diff)
downloadtcl-78fb095839d48186857702fa71c1d2a9a2491091.zip
tcl-78fb095839d48186857702fa71c1d2a9a2491091.tar.gz
tcl-78fb095839d48186857702fa71c1d2a9a2491091.tar.bz2
Add field initialization to fix [Bug 989298]. D'oh!
Diffstat (limited to 'generic')
-rw-r--r--generic/tclNamesp.c3
1 files changed, 2 insertions, 1 deletions
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;