Re: [dev] [PATCH] Disable buffering of stdin in sic

From: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Mon, 22 Dec 2014 11:35:20 +0100

Hi Troels,

On 3 December 2014 at 15:13, Troels Henriksen <athas_AT_sigkill.dk> wrote:
> If several lines are given to the stdin of sic in a single write() call
> (by whatever is controlling sic), only the first line will be seen by
> sic until the stdin file descriptor is triggered the next time. This is
> due to interactions between C stdio buffering and the use of select().
> sic already disables buffering on the socket FD, and with this patch,
> also on stdin.

thanks for the patch, makes sense. Applied.

BR,
Anselm
Received on Mon Dec 22 2014 - 11:35:20 CET

This archive was generated by hypermail 2.3.0 : Mon Dec 22 2014 - 11:36:09 CET