From a96107e9b8920917593a8ef14cf84c0c775ba730 Mon Sep 17 00:00:00 2001 From: Monty Date: Thu, 28 May 2009 14:41:26 -0400 Subject: [PATCH 1/5] Spot-fix to batch mode console; was not flushing stdout, thus breaking scripts. --- plug-ins/script-fu/scheme-wrapper.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/plug-ins/script-fu/scheme-wrapper.c b/plug-ins/script-fu/scheme-wrapper.c index 9212801..fbcf81b 100644 --- a/plug-ins/script-fu/scheme-wrapper.c +++ b/plug-ins/script-fu/scheme-wrapper.c @@ -329,6 +329,7 @@ ts_stdout_output_func (TsOutputType type, if (len < 0) len = strlen (string); fprintf (stdout, "%.*s", len, string); + fflush (stdout); } void -- 1.6.3.1