aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.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/gcc.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/gcc.c')
-rw-r--r--gcc/gcc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 373b617..d3a0ecf 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -5995,6 +5995,11 @@ main (int argc, const char **argv)
GCC_DRIVER_HOST_INITIALIZATION;
#endif
+ /* Unlock the stdio streams. */
+ unlock_stream (stdin);
+ unlock_stream (stdout);
+ unlock_stream (stderr);
+
gcc_init_libintl ();
if (signal (SIGINT, SIG_IGN) != SIG_IGN)