summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-03-03 21:28:43 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-03-03 21:28:43 (GMT)
commit14e96246498e58819ba8b578648581e55bacb9f1 (patch)
treea9a47dabac924e5befe7cc8444955eb0860ec6b6
parente5f6fcacf995750904478ff3be80014df5ef6906 (diff)
downloadtcl-14e96246498e58819ba8b578648581e55bacb9f1.zip
tcl-14e96246498e58819ba8b578648581e55bacb9f1.tar.gz
tcl-14e96246498e58819ba8b578648581e55bacb9f1.tar.bz2
USE_DIRECT_INTERP_RESULT_ACCESS -> USE_INTERP_RESULT [TIP 330].
-rw-r--r--ChangeLog7
-rw-r--r--generic/tclResult.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3976ccd..c37c226 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-11-04 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tclResult.c (Tcl_AppendResultVA): Use the directive
+ USE_INTERP_RESULT [TIP 330] to force compat with interp->result
+ access, instead of the improvised hack USE_DIRECT_INTERP_RESULT_ACCESS
+ from releases past.
+
2011-03-01 Miguel Sofer <msofer@users.sf.net>
* generic/tclCompCmdsSZ.c (TclCompileThrowCmd)
diff --git a/generic/tclResult.c b/generic/tclResult.c
index 99942a9..f60ae26 100644
--- a/generic/tclResult.c
+++ b/generic/tclResult.c
@@ -648,14 +648,14 @@ Tcl_AppendResultVA(
* calls to Tcl_GetStringResult() itself. [Patch 1041072 discussion]
*/
-#ifdef USE_DIRECT_INTERP_RESULT_ACCESS
+#ifdef USE_INTERP_RESULT
/*
* Ensure that the interp->result is legal so old Tcl 7.* code still
* works. There's still embarrasingly much of it about...
*/
(void) Tcl_GetStringResult(interp);
-#endif /* USE_DIRECT_INTERP_RESULT_ACCESS */
+#endif /* USE_INTERP_RESULT */
}
/*