Re: [PATCH] ui-patch: Flush stdout after outputting data

2014-06-28 Thread Jason A. Donenfeld
Thanks for patching this John. Merged here: http://git.zx2c4.com/cgit/commit/?id=2efb59ed0fa8eced79fa702bc47454d3406c3431 ___ CGit mailing list CGit@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/cgit

[PATCH] ui-patch: Flush stdout after outputting data

2014-06-11 Thread John Keeping
Since the html functions use raw write(2) to STDIO_FILENO, we don't notice problems with most pages, but raw patches write using printf(3). This is fine if we're outputting straight to stdout since the buffers are flushed on exit, but we close the cache output before this, so the cached output

Re: [PATCH] ui-patch: Flush stdout after outputting data

2014-06-11 Thread Konstantin Ryabitsev
On 11/06/14 04:01 PM, John Keeping wrote: Since the html functions use raw write(2) to STDIO_FILENO, we don't notice problems with most pages, but raw patches write using printf(3). This is fine if we're outputting straight to stdout since the buffers are flushed on exit, but we close the

Re: [PATCH] ui-patch: Flush stdout after outputting data

2014-06-11 Thread John Keeping
On Wed, Jun 11, 2014 at 04:28:26PM -0400, Konstantin Ryabitsev wrote: On 11/06/14 04:01 PM, John Keeping wrote: Since the html functions use raw write(2) to STDIO_FILENO, we don't notice problems with most pages, but raw patches write using printf(3). This is fine if we're outputting