summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-12-11 01:21:52 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-12-11 01:21:52 (GMT)
commit540cbc7ddbd0d20c638a9cc9dbcb1b608b661f0e (patch)
treec49375210a3dc50aed061ef11fbb81eb599dcdad /generic/tclBasic.c
parent9a623e586804e09002c18013b7e993cf3abfd5fc (diff)
downloadtcl-540cbc7ddbd0d20c638a9cc9dbcb1b608b661f0e.zip
tcl-540cbc7ddbd0d20c638a9cc9dbcb1b608b661f0e.tar.gz
tcl-540cbc7ddbd0d20c638a9cc9dbcb1b608b661f0e.tar.bz2
First hack at TIP#234
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index cf618c7..c8928ec 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -16,7 +16,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclBasic.c,v 1.375 2008/12/05 21:38:47 dkf Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.376 2008/12/11 01:21:52 dkf Exp $
*/
#include "tclInt.h"
@@ -914,6 +914,10 @@ Tcl_CreateInterp(void)
Tcl_Panic(Tcl_GetString(Tcl_GetObjResult(interp)));
}
+ if (TclZlibInit(interp) != TCL_OK) {
+ Tcl_Panic(Tcl_GetString(Tcl_GetObjResult(interp)));
+ }
+
TOP_CB(iPtr) = NULL;
return interp;
}