summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-11-29 14:50:08 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-11-29 14:50:08 (GMT)
commitac34745ea59ffba3bdcb779cd887a92554f59457 (patch)
treef2a787bfdd87b5c3d8c500ea07edfdae2dffc8cd
parent888f7141151b5b085d0cdc0029121d67a06e7273 (diff)
parent8bdf6a3cdd5c1ace4435d972fd5f183ce4f3e18c (diff)
downloadtcl-ac34745ea59ffba3bdcb779cd887a92554f59457.zip
tcl-ac34745ea59ffba3bdcb779cd887a92554f59457.tar.gz
tcl-ac34745ea59ffba3bdcb779cd887a92554f59457.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.
-rw-r--r--generic/tclStubLib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tclStubLib.c b/generic/tclStubLib.c
index 1f5b436..871d7ea 100644
--- a/generic/tclStubLib.c
+++ b/generic/tclStubLib.c
@@ -44,9 +44,7 @@ HasStubSupport(
if (iPtr->stubTable && (iPtr->stubTable->magic == TCL_STUB_MAGIC)) {
return iPtr->stubTable;
}
-
- interp->result =
- "This interpreter does not support stubs-enabled extensions.";
+ interp->result = "interpreter uses an incompatible stubs mechanism";
interp->freeProc = TCL_STATIC;
return NULL;
}