diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2005-04-24 22:11:55 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2005-04-24 22:11:55 +0000 |
commit | 98a3dad4119055bb5be8e66372b4fcf89235e660 (patch) | |
tree | 1640c77c957668249b6d37b75f4d8ce1eca24af2 /gcc/gcov-dump.c | |
parent | 8634c649cb1ea6d85a53f1fab3bd28af869b934f (diff) | |
download | gcc-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/gcov-dump.c')
-rw-r--r-- | gcc/gcov-dump.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/gcov-dump.c b/gcc/gcov-dump.c index 859fdb7..514004e 100644 --- a/gcc/gcov-dump.c +++ b/gcc/gcov-dump.c @@ -77,6 +77,11 @@ main (int argc ATTRIBUTE_UNUSED, char **argv) { int opt; + /* Unlock the stdio streams. */ + unlock_stream (stdin); + unlock_stream (stdout); + unlock_stream (stderr); + while ((opt = getopt_long (argc, argv, "hlpv", options, NULL)) != -1) { switch (opt) |