summaryrefslogtreecommitdiffstats
path: root/unix/tclAppInit.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-11-18 23:46:05 (GMT)
committernijtmans <nijtmans>2009-11-18 23:46:05 (GMT)
commit5eff1a7b7ac12342c892b0c4e3f867dededec5cf (patch)
tree6938875528242df851eab59fa720c1395ee0f934 /unix/tclAppInit.c
parentb57c08b7e2ccf91e1096b30f2170d2f603f59e0c (diff)
downloadtcl-5eff1a7b7ac12342c892b0c4e3f867dededec5cf.zip
tcl-5eff1a7b7ac12342c892b0c4e3f867dededec5cf.tar.gz
tcl-5eff1a7b7ac12342c892b0c4e3f867dededec5cf.tar.bz2
Fix [Bug 2883850]: pkgIndex.tcl doesn't
get created with static Tcl build
Diffstat (limited to 'unix/tclAppInit.c')
-rw-r--r--unix/tclAppInit.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c
index 4183c7c..7d8e1c0 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.18 2008/04/27 22:21:33 dkf Exp $
+ * RCS: @(#) $Id: tclAppInit.c,v 1.19 2009/11/18 23:46:05 nijtmans Exp $
*/
#include "tcl.h"
@@ -20,9 +20,6 @@
#include "tclInt.h"
-extern Tcl_PackageInitProc Procbodytest_Init;
-extern Tcl_PackageInitProc Procbodytest_SafeInit;
-extern Tcl_PackageInitProc TclObjTest_Init;
extern Tcl_PackageInitProc Tcltest_Init;
#endif /* TCL_TEST */
@@ -126,15 +123,7 @@ Tcl_AppInit(
return TCL_ERROR;
}
Tcl_StaticPackage(interp, "Tcltest", Tcltest_Init,
- (Tcl_PackageInitProc *) NULL);
- if (TclObjTest_Init(interp) == TCL_ERROR) {
- return TCL_ERROR;
- }
- if (Procbodytest_Init(interp) == TCL_ERROR) {
- return TCL_ERROR;
- }
- Tcl_StaticPackage(interp, "procbodytest", Procbodytest_Init,
- Procbodytest_SafeInit);
+ (Tcl_PackageInitProc *) Tcltest_SafeInit);
#endif /* TCL_TEST */
/*