summaryrefslogtreecommitdiffstats
path: root/generic/tclStubLib.c
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2008-04-01 19:20:55 (GMT)
committerdgp <dgp@noemail.net>2008-04-01 19:20:55 (GMT)
commit14cad43561cb936d2093f1019f46f136124cd52b (patch)
treec157b4d40e96cdbce970cc07676154ace268072f /generic/tclStubLib.c
parent5f0ea8092fd38d247d05ef1dc2c870014f871d03 (diff)
downloadtcl-14cad43561cb936d2093f1019f46f136124cd52b.zip
tcl-14cad43561cb936d2093f1019f46f136124cd52b.tar.gz
tcl-14cad43561cb936d2093f1019f46f136124cd52b.tar.bz2
* generic/tclStubLib.c (Tcl_InitStubs): Added missing error message.
FossilOrigin-Name: 23fac7f09b6c92d432c66fb734cd3cb4c755abad
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..117e5cd 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.21.2.1 2008/04/01 19:21:06 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 {