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

2014-12-22 Thread Anselm R Garbe
Hi Troels, On 3 December 2014 at 15:13, Troels Henriksen 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 int

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

2014-12-03 Thread Troels Henriksen
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 d