summaryrefslogtreecommitdiffstats
path: root/generic/tclStubLib.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2008-04-01 19:22:45 (GMT)
committerdgp@users.sourceforge.net <dgp>2008-04-01 19:22:45 (GMT)
commit23be70eed62ae57f0e35dd19d31212b22ee8d40d (patch)
tree3f883540a85137e3a94b51d9b4fd57fe76252817 /generic/tclStubLib.c
parent7a4219508cbc2abcbcdf99081e973f90fb0af322 (diff)
downloadtcl-23be70eed62ae57f0e35dd19d31212b22ee8d40d.zip
tcl-23be70eed62ae57f0e35dd19d31212b22ee8d40d.tar.gz
tcl-23be70eed62ae57f0e35dd19d31212b22ee8d40d.tar.bz2
* generic/tclStubLib.c (Tcl_InitStubs): Added missing error message.
Diffstat (limited to 'generic/tclStubLib.c')
-rw-r--r--generic/tclStubLib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclStubLib.c b/generic/tclStubLib.c
index 3457307..fd7061f 100644
--- a/generic/tclStubLib.c
+++ b/generic/tclStubLib.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclStubLib.c,v 1.21 2007/12/13 15:23:20 dgp Exp $
+ * RCS: @(#) $Id: tclStubLib.c,v 1.22 2008/04/01 19:22:47 dgp Exp $
*/
/*
@@ -123,6 +123,8 @@ Tcl_InitStubs(
p++; q++;
}
if (*p) {
+ /* Construct error message */
+ Tcl_PkgRequireEx(interp, "Tcl", version, 1, NULL);
return NULL;
}
} else {