mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-29 08:17:18 -04:00
Set nonblocking mode for output.
This commit is contained in:
parent
9064e6323b
commit
f260691ac4
@ -132,6 +132,7 @@ init_festival(void)
|
|||||||
close(in_pipe[0]);
|
close(in_pipe[0]);
|
||||||
festival.in = out_pipe[0];
|
festival.in = out_pipe[0];
|
||||||
festival.out = in_pipe[1];
|
festival.out = in_pipe[1];
|
||||||
|
set_nonblocking_fd(festival.out);
|
||||||
set_handlers(festival.in, (select_handler_T) read_from_festival,
|
set_handlers(festival.in, (select_handler_T) read_from_festival,
|
||||||
NULL, NULL, &festival);
|
NULL, NULL, &festival);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user