diff options
author | nijtmans <nijtmans> | 2009-11-26 07:01:45 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-11-26 07:01:45 (GMT) |
commit | fe3dd38f5e9956ff59341aee24ccc04e0818b19d (patch) | |
tree | ebfeb9beb09da18d4be3af45520759f7724b591f /unix/tclAppInit.c | |
parent | b15ddd01de0048a7f37b5195ed7c6b44504fd513 (diff) | |
download | tcl-fe3dd38f5e9956ff59341aee24ccc04e0818b19d.zip tcl-fe3dd38f5e9956ff59341aee24ccc04e0818b19d.tar.gz tcl-fe3dd38f5e9956ff59341aee24ccc04e0818b19d.tar.bz2 |
Fix [Bug 2902965] stub related changes
cause tclkit built to break
Diffstat (limited to 'unix/tclAppInit.c')
-rw-r--r-- | unix/tclAppInit.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c index a39b448..715a098 100644 --- a/unix/tclAppInit.c +++ b/unix/tclAppInit.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclAppInit.c,v 1.20 2009/11/19 16:31:10 dgp Exp $ + * RCS: @(#) $Id: tclAppInit.c,v 1.21 2009/11/26 07:01:46 nijtmans Exp $ */ #include "tcl.h" @@ -110,6 +110,10 @@ int Tcl_AppInit( Tcl_Interp *interp) /* Interpreter for application. */ { +#undef Tcl_InitStubs + if (!Tcl_InitStubs(interp, TCL_VERSION, 0)) { + return TCL_ERROR; + } if (Tcl_Init(interp) == TCL_ERROR) { return TCL_ERROR; } |