summaryrefslogtreecommitdiffstats
path: root/generic/tclStubLib.c
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)
commit80108bef0ece4d3411b32e84724b298e2f9d4366 (patch)
treef2a787bfdd87b5c3d8c500ea07edfdae2dffc8cd /generic/tclStubLib.c
parent5d659010d25c3d50db15f9fd42badfe8ebcc8265 (diff)
parente2ddd4a2fdbc65a17ef64706dabab8831b996c68 (diff)
downloadtcl-80108bef0ece4d3411b32e84724b298e2f9d4366.zip
tcl-80108bef0ece4d3411b32e84724b298e2f9d4366.tar.gz
tcl-80108bef0ece4d3411b32e84724b298e2f9d4366.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 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;
}