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/gen-protos.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/gen-protos.c')
-rw-r--r-- | gcc/gen-protos.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/gen-protos.c b/gcc/gen-protos.c index b8fa31bfe1c..d60a2098d06 100644 --- a/gcc/gen-protos.c +++ b/gcc/gen-protos.c @@ -139,6 +139,11 @@ main (int argc ATTRIBUTE_UNUSED, char **argv) while (i > 0 && argv[0][i-1] != '/') --i; progname = &argv[0][i]; + /* Unlock the stdio streams. */ + unlock_stream (stdin); + unlock_stream (stdout); + unlock_stream (stderr); + INIT_SSTRING (&linebuf); fprintf (outf, "struct fn_decl std_protos[] = {\n"); |