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)
commitf9ed6a0df0ce450fc6ddc636463eaf26e3e03bcb (patch)
tree95cde57a7d9446853eb33886d7db8ee7a5722299 /generic/tclStubLib.c
parent665a380e86877529932a05da6d253011e8065642 (diff)
parentac34745ea59ffba3bdcb779cd887a92554f59457 (diff)
downloadtcl-f9ed6a0df0ce450fc6ddc636463eaf26e3e03bcb.zip
tcl-f9ed6a0df0ce450fc6ddc636463eaf26e3e03bcb.tar.gz
tcl-f9ed6a0df0ce450fc6ddc636463eaf26e3e03bcb.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;
}