X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=stdin.c;h=8b18c2e2cef6c54975cde07285fd68207334d63b;hp=cb13250e269874399eb6892eac73242d80adc0ac;hb=c4012aab461993e6c8a9930d27d924a8462a9775;hpb=c075e867311c77dfb7171241597e613290d1f62b diff --git a/stdin.c b/stdin.c index cb13250e..8b18c2e2 100644 --- a/stdin.c +++ b/stdin.c @@ -105,5 +105,6 @@ void stdin_set_defaults(struct stdin_task *sit) sit->task.post_select = stdin_post_select; sit->task.event_handler = stdin_default_event_handler; sit->task.private_data = sit; + mark_fd_nonblock(STDIN_FILENO); sprintf(sit->task.status, "stdin reader"); }