aboutsummaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2005-04-24 22:11:55 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2005-04-24 22:11:55 +0000
commit98a3dad4119055bb5be8e66372b4fcf89235e660 (patch)
tree1640c77c957668249b6d37b75f4d8ce1eca24af2 /gcc/protoize.c
parent8634c649cb1ea6d85a53f1fab3bd28af869b934f (diff)
downloadgcc-98a3dad4119055bb5be8e66372b4fcf89235e660.zip
gcc-98a3dad4119055bb5be8e66372b4fcf89235e660.tar.gz
gcc-98a3dad4119055bb5be8e66372b4fcf89235e660.tar.bz2
collect2.c (main): Unlock the stdio streams.
* collect2.c (main): Unlock the stdio streams. * gcc.c (main): Likewise. * gcov-dump.c (main): Likewise. * gcov.c (main): Likewise. * gen-protos.c (main): Likewise. * gensupport.c (init_md_reader_args_cb): Likewise. * protoize.c (main): Likewise. * toplev.c (general_init): Likewise. java: * gjavah.c (main): Unlock the stdio streams. * jcf-dump.c (main): Likewise. * jv-scan.c (main): Likewise. * jvgenmain.c (main): Likewise. From-SVN: r98676
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 ();