make osx_write work for any bitrate
[paraslash.git] / stdin.c
diff --git a/stdin.c b/stdin.c
index cb13250..8b18c2e 100644 (file)
--- 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");
 }