diff options
author | dgp <dgp@users.sourceforge.net> | 2007-08-30 19:24:31 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-08-30 19:24:31 (GMT) |
commit | 78f4f529a75a1cdb5c5ad4d2694f3712e8dd9f7b (patch) | |
tree | c5378e6cd0836d31030f9d3d2023b572235d66db /generic/tclExecute.c | |
parent | 7e86582642385bcca3dc26abaf937f7973c71428 (diff) | |
download | tcl-78f4f529a75a1cdb5c5ad4d2694f3712e8dd9f7b.zip tcl-78f4f529a75a1cdb5c5ad4d2694f3712e8dd9f7b.tar.gz tcl-78f4f529a75a1cdb5c5ad4d2694f3712e8dd9f7b.tar.bz2 |
* generic/tclCompile.c: Added fflush() calls following all callers of
* generic/tclExecute.c: TclPrintByteCodeObj() so that tcl_traceCompile
output is less likely to get mangled when writes to stdout interleave
with other code.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 2647723..db95212 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclExecute.c,v 1.326 2007/08/27 19:56:51 dgp Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.327 2007/08/30 19:24:33 dgp Exp $ */ #include "tclInt.h" @@ -1174,6 +1174,7 @@ Tcl_ExprObj( #ifdef TCL_COMPILE_DEBUG if (tclTraceCompile == 2) { TclPrintByteCodeObj(interp, objPtr); + fflush(stdout); } #endif /* TCL_COMPILE_DEBUG */ } |