Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
9945be43
Commit
9945be43
authored
May 24, 2002
by
Pontus Freyhult
Browse files
Set stdin,stdout and stderr to blocking mode in io_final.
Rev: src/io.c:1.164
parent
8a076d2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/io.c
View file @
9945be43
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment