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

From: Troels Henriksen <athas_AT_sigkill.dk>
Date: Wed, 03 Dec 2014 15:13:54 +0100

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.



-- 
\  Troels
/\ Henriksen
Received on Wed Dec 03 2014 - 15:13:54 CET

This archive was generated by hypermail 2.3.0 : Wed Dec 03 2014 - 15:24:08 CET