summaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-24 22:11:55 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-24 22:11:55 +0000
commit4367c81fb93bb9ab03b3fd009c5a5f2daf749d68 (patch)
tree1640c77c957668249b6d37b75f4d8ce1eca24af2 /gcc/gcov.c
parent880afb804d8c8dd903dacb8c3e1383a80eba225c (diff)
downloadgcc-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/gcov.c')
-rw-r--r--gcc/gcov.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c
index 66aa742fdd6..6b8f3370c39 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -347,6 +347,11 @@ main (int argc, char **argv)
{
int argno;
+ /* Unlock the stdio streams. */
+ unlock_stream (stdin);
+ unlock_stream (stdout);
+ unlock_stream (stderr);
+
gcc_init_libintl ();
argno = process_args (argc, argv);