summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-04-01 19:20:55 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-04-01 19:20:55 (GMT)
commitbf5d97242b6f536923ad5dff2f2835cf019d336f (patch)
treec157b4d40e96cdbce970cc07676154ace268072f
parentb8f08b6a474598d1f1ccf29ff84ad90eb5aa329c (diff)
downloadtcl-bf5d97242b6f536923ad5dff2f2835cf019d336f.zip
tcl-bf5d97242b6f536923ad5dff2f2835cf019d336f.tar.gz
tcl-bf5d97242b6f536923ad5dff2f2835cf019d336f.tar.bz2
* generic/tclStubLib.c (Tcl_InitStubs): Added missing error message.
-rw-r--r--ChangeLog4
-rw-r--r--generic/tclStubLib.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e183ba5..75488bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-01 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tclStubLib.c (Tcl_InitStubs): Added missing error message.
+
2008-03-30 Kevin Kenny <kennykb@acm.org>
* generic/tclInt.h (TclIsNaN):
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 {