aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
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 66aa742..6b8f337 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);