summaryrefslogtreecommitdiffstats
path: root/unix/tclAppInit.c
diff options
context:
space:
mode:
authorhypnotoad <yoda@etoyoc.com>2017-03-10 17:03:10 (GMT)
committerhypnotoad <yoda@etoyoc.com>2017-03-10 17:03:10 (GMT)
commit627f0a4d6a3b5ed2573b77e20bb0e14cf3904f03 (patch)
treea0d129d5cae834832149cf8087f5e7d46f1c300f /unix/tclAppInit.c
parent9dfe53af4ac9a368f01fd80c5c67fbe842d387df (diff)
parentb645469c9552d01b7ca9999e90071ba756116bb4 (diff)
downloadtcl-627f0a4d6a3b5ed2573b77e20bb0e14cf3904f03.zip
tcl-627f0a4d6a3b5ed2573b77e20bb0e14cf3904f03.tar.gz
tcl-627f0a4d6a3b5ed2573b77e20bb0e14cf3904f03.tar.bz2
Pulling changes from zipfs
Diffstat (limited to 'unix/tclAppInit.c')
-rw-r--r--unix/tclAppInit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c
index 9bbc88b..40b10f3 100644
--- a/unix/tclAppInit.c
+++ b/unix/tclAppInit.c
@@ -17,6 +17,7 @@
#include "tcl.h"
#ifdef TCL_TEST
+#include "tclZipfs.h"
extern Tcl_PackageInitProc Tcltest_Init;
extern Tcl_PackageInitProc Tcltest_SafeInit;
#endif /* TCL_TEST */
@@ -123,6 +124,10 @@ Tcl_AppInit(
return TCL_ERROR;
}
Tcl_StaticPackage(interp, "Tcltest", Tcltest_Init, Tcltest_SafeInit);
+ if (Tclzipfs_Init(interp) == TCL_ERROR) {
+ return TCL_ERROR;
+ }
+ Tcl_StaticPackage(interp, "zipfs", Tclzipfs_Init, Tclzipfs_SafeInit);
#endif /* TCL_TEST */
/*