diff options
author | dgp <dgp@users.sourceforge.net> | 2012-12-06 21:10:19 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2012-12-06 21:10:19 (GMT) |
commit | 1340847bcf95785a44a4dcef989eaaff64a6493a (patch) | |
tree | 7f6810c5ac1568c79cd20c2bdff3297bb1e86542 /generic | |
parent | b1e66e34704ff978d2dbacea83cc81ae8650a6d0 (diff) | |
parent | 92b20ad57f4d24e7d2d915c6059e0decb570276d (diff) | |
download | tcl-1340847bcf95785a44a4dcef989eaaff64a6493a.zip tcl-1340847bcf95785a44a4dcef989eaaff64a6493a.tar.gz tcl-1340847bcf95785a44a4dcef989eaaff64a6493a.tar.bz2 |
Tcl_InitStubs("8.5",1) would succeed in an "8.50" interp. Fixed.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclStubLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStubLib.c b/generic/tclStubLib.c index 91012fd..0efaf50 100644 --- a/generic/tclStubLib.c +++ b/generic/tclStubLib.c @@ -111,7 +111,7 @@ Tcl_InitStubs( while (*p && (*p == *q)) { p++; q++; } - if (*p) { + if (*p || isDigit(*q)) { /* Construct error message */ Tcl_PkgRequireEx(interp, "Tcl", version, 1, NULL); return NULL; |