[hackers] [sic] applied Troels unbuffer stdin patch, thanks || Anselm R Garbe
commit 7f0141bbe92dc6c3423ff39d21e8ec5c18b58ec1
Author: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Mon Dec 22 11:34:35 2014 +0100
applied Troels unbuffer stdin patch, thanks
diff --git a/sic.c b/sic.c
index 6b5ae96..ce6d216 100644
--- a/sic.c
+++ b/sic.c
_AT_@ -181,6 +181,7 @@ main(int argc, char *argv[]) {
fflush(srv);
setbuf(stdout, NULL);
setbuf(srv, NULL);
+ setbuf(stdin, NULL);
for(;;) { /* main loop */
FD_ZERO(&rd);
FD_SET(0, &rd);
Received on Mon Dec 22 2014 - 11:34:48 CET
This archive was generated by hypermail 2.3.0
: Mon Dec 22 2014 - 11:36:18 CET