summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2012-11-29 14:50:08 (GMT)
committerdgp@users.sourceforge.net <dgp>2012-11-29 14:50:08 (GMT)
commit28c6a54b6b434329e26742d2f7fb9591d3bd2859 (patch)
treef2a787bfdd87b5c3d8c500ea07edfdae2dffc8cd
parent82d2e393cb5a8a45998ef5f8baa3f75d6f70874d (diff)
parent6153865e2f9e6004a20f356457e8344cde3f2f7e (diff)
downloadtcl-28c6a54b6b434329e26742d2f7fb9591d3bd2859.zip
tcl-28c6a54b6b434329e26742d2f7fb9591d3bd2859.tar.gz
tcl-28c6a54b6b434329e26742d2f7fb9591d3bd2859.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;
}