summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-04-01 19:22:45 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-04-01 19:22:45 (GMT)
commitf8ac84de9aeea3aad16ee2b8e29af4b5b9ad91e0 (patch)
tree3f883540a85137e3a94b51d9b4fd57fe76252817
parenta0ec1a39d88a25470246b6554c5901fde0682bb6 (diff)
downloadtcl-f8ac84de9aeea3aad16ee2b8e29af4b5b9ad91e0.zip
tcl-f8ac84de9aeea3aad16ee2b8e29af4b5b9ad91e0.tar.gz
tcl-f8ac84de9aeea3aad16ee2b8e29af4b5b9ad91e0.tar.bz2
* generic/tclStubLib.c (Tcl_InitStubs): Added missing error message.
-rw-r--r--ChangeLog2
-rw-r--r--generic/tclStubLib.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 967f2ae..62e93d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2008-04-01 Don Porter <dgp@users.sourceforge.net>
+ * generic/tclStubLib.c (Tcl_InitStubs): Added missing error message.
+
* README: Bump version number to 8.6a0
* generic/tcl.h:
* library/init.tcl:
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 {