diff options
author | dgp <dgp@users.sourceforge.net> | 2008-04-01 19:26:35 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-04-01 19:26:35 (GMT) |
commit | 00989310d72fd83734600742be9a06dae2ebe48b (patch) | |
tree | 1bc07906420902c75e723af1abc83e790f8df3bf | |
parent | f8ac84de9aeea3aad16ee2b8e29af4b5b9ad91e0 (diff) | |
download | tcl-00989310d72fd83734600742be9a06dae2ebe48b.zip tcl-00989310d72fd83734600742be9a06dae2ebe48b.tar.gz tcl-00989310d72fd83734600742be9a06dae2ebe48b.tar.bz2 |
* generic/tclStubLib.c (Tcl_InitStubs): Added missing error message.
* generic/tclPkg.c (Tcl_PkgInitStubsCheck):
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | generic/tclPkg.c | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -1,6 +1,7 @@ 2008-04-01 Don Porter <dgp@users.sourceforge.net> * generic/tclStubLib.c (Tcl_InitStubs): Added missing error message. + * generic/tclPkg.c (Tcl_PkgInitStubsCheck): * README: Bump version number to 8.6a0 * generic/tcl.h: diff --git a/generic/tclPkg.c b/generic/tclPkg.c index 8f9ec50..24f3e62 100644 --- a/generic/tclPkg.c +++ b/generic/tclPkg.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: tclPkg.c,v 1.34 2007/12/13 15:23:20 dgp Exp $ + * RCS: @(#) $Id: tclPkg.c,v 1.35 2008/04/01 19:26:36 dgp Exp $ * * TIP #268. * Heavily rewritten to handle the extend version numbers, and extended @@ -1868,6 +1868,8 @@ Tcl_PkgInitStubsCheck( } if (count == 1) { if (0 != strncmp(version, actualVersion, strlen(version))) { + /* Construct error message */ + Tcl_PkgPresent(interp, "Tcl", version, 1); return NULL; } } else { |