diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-24 22:11:55 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-24 22:11:55 +0000 |
commit | 4367c81fb93bb9ab03b3fd009c5a5f2daf749d68 (patch) | |
tree | 1640c77c957668249b6d37b75f4d8ce1eca24af2 /gcc/toplev.c | |
parent | 880afb804d8c8dd903dacb8c3e1383a80eba225c (diff) | |
download | gcc-4367c81fb93bb9ab03b3fd009c5a5f2daf749d68.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98676 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 19411e148a0..cea3bb470f3 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1618,6 +1618,11 @@ general_init (const char *argv0) hex_init (); + /* Unlock the stdio streams. */ + unlock_stream (stdin); + unlock_stream (stdout); + unlock_stream (stderr); + gcc_init_libintl (); /* Initialize the diagnostics reporting machinery, so option parsing |