diff options
author | dgp <dgp@users.sourceforge.net> | 2008-04-01 19:31:09 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-04-01 19:31:09 (GMT) |
commit | df8fdd376c3d6ba74d0403061f6d27cf88a12724 (patch) | |
tree | ef520450ba3568fe74dffbf3eba40a3b5fd52df9 /generic/tclPkg.c | |
parent | 77a1bbf072b85ae503db1df8dfc011139df84c2d (diff) | |
download | tcl-df8fdd376c3d6ba74d0403061f6d27cf88a12724.zip tcl-df8fdd376c3d6ba74d0403061f6d27cf88a12724.tar.gz tcl-df8fdd376c3d6ba74d0403061f6d27cf88a12724.tar.bz2 |
* generic/tclStubLib.c (Tcl_InitStubs): Added missing error message.
* generic/tclPkg.c (Tcl_PkgInitStubsCheck):
Diffstat (limited to 'generic/tclPkg.c')
-rw-r--r-- | generic/tclPkg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclPkg.c b/generic/tclPkg.c index 8f9ec50..fe23fd2 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.34.2.1 2008/04/01 19:31:12 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 { |