From 98a3dad4119055bb5be8e66372b4fcf89235e660 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sun, 24 Apr 2005 22:11:55 +0000 Subject: 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 --- gcc/gensupport.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc/gensupport.c') diff --git a/gcc/gensupport.c b/gcc/gensupport.c index dbf0aab..8c65a3e 100644 --- a/gcc/gensupport.c +++ b/gcc/gensupport.c @@ -906,6 +906,11 @@ init_md_reader_args_cb (int argc, char **argv, bool (*parse_opt)(const char *)) char *lastsl; rtx desc; + /* Unlock the stdio streams. */ + unlock_stream (stdin); + unlock_stream (stdout); + unlock_stream (stderr); + for (i = 1; i < argc; i++) { if (argv[i][0] != '-') -- cgit v1.1