applied Troels unbuffer stdin patch, thanks
This commit is contained in:
parent
6ae3c37e30
commit
7f0141bbe9
1
sic.c
1
sic.c
@ -181,6 +181,7 @@ main(int argc, char *argv[]) {
|
|||||||
fflush(srv);
|
fflush(srv);
|
||||||
setbuf(stdout, NULL);
|
setbuf(stdout, NULL);
|
||||||
setbuf(srv, NULL);
|
setbuf(srv, NULL);
|
||||||
|
setbuf(stdin, NULL);
|
||||||
for(;;) { /* main loop */
|
for(;;) { /* main loop */
|
||||||
FD_ZERO(&rd);
|
FD_ZERO(&rd);
|
||||||
FD_SET(0, &rd);
|
FD_SET(0, &rd);
|
||||||
|
Loading…
Reference in New Issue
Block a user