aboutsummaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index b9e100c..bb04201 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -4391,6 +4391,11 @@ main (int argc, char **const argv)
signal (SIGCHLD, SIG_DFL);
#endif
+ /* Unlock the stdio streams. */
+ unlock_stream (stdin);
+ unlock_stream (stdout);
+ unlock_stream (stderr);
+
gcc_init_libintl ();
cwd_buffer = getpwd ();