[Gimp-developer] [PATCH] fix to batch console support

Martin Nordholts enselic at gmail.com
Thu May 28 12:08:45 PDT 2009


Christopher Montgomery wrote:
> The batch mode console is using stdio but never flushing its output
> after fwrite()s.  This still usually works by accident when using
> batch mode from a terminal, but it means scripts generally won't work
> as responses to requests never get flushed through the return pipe.

Seems like a reasonable patch to me, I pushed to GNOME master:

commit 7b7d44837834061e8ee2c668b0f9d99d9ae13dcf
Author: Christopher Montgomery <xiphmont at gmail.com>
Date:   Thu May 28 21:06:53 2009 +0200            

    plug-ins: Make sure to flush output in ts_stdout_output_func()

 / Martin


More information about the Gimp-developer mailing list