Commit 9945be43 authored by Pontus Freyhult's avatar Pontus Freyhult
Browse files

Set stdin,stdout and stderr to blocking mode in io_final.

Rev: src/io.c:1.164
parent 8a076d2c
......@@ -316,6 +316,12 @@ io_final(void)
oop_sys_delete(global_oop_sys);
global_oop_sys = NULL;
source = NULL;
/* It's a good idea to reset std* to blocking mode. */
io_set_blocking(STDIN_FILENO);
io_set_blocking(STDOUT_FILENO);
io_set_blocking(STDERR_FILENO);
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment