summaryrefslogtreecommitdiffstats
path: root/generic/tclStubLib.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-11-29 14:54:51 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-11-29 14:54:51 (GMT)
commitb7ab8113fe5fc840871304ce4afa45cfeeefbf49 (patch)
tree95cde57a7d9446853eb33886d7db8ee7a5722299 /generic/tclStubLib.c
parent96295b01519853f7feccb5164fbf863e25d9a559 (diff)
parent80108bef0ece4d3411b32e84724b298e2f9d4366 (diff)
downloadtcl-b7ab8113fe5fc840871304ce4afa45cfeeefbf49.zip
tcl-b7ab8113fe5fc840871304ce4afa45cfeeefbf49.tar.gz
tcl-b7ab8113fe5fc840871304ce4afa45cfeeefbf49.tar.bz2
3588687 When detecting incompatibility during stubs initialization, the error
message has always assumed a stubs-disabled 8.0 interp to be the cause. That's no longer a good assumption. More suitable error message committed.
Diffstat (limited to 'generic/tclStubLib.c')
-rw-r--r--generic/tclStubLib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tclStubLib.c b/generic/tclStubLib.c
index f569820..91012fd 100644
--- a/generic/tclStubLib.c
+++ b/generic/tclStubLib.c
@@ -41,9 +41,7 @@ HasStubSupport(
if (iPtr->stubTable && (iPtr->stubTable->magic == TCL_STUB_MAGIC)) {
return iPtr->stubTable;
}
-
- iPtr->result =
- (char *)"This interpreter does not support stubs-enabled extensions.";
+ iPtr->result = (char *) "interpreter uses an incompatible stubs mechanism";
iPtr->freeProc = TCL_STATIC;
return NULL;
}