Commit 2653bb0c by Kaveh R. Ghazi Committed by Kaveh Ghazi

collect2.c, [...]: Replace calls to `unlock_stream' with `unlock_std_streams'.

	* collect2.c, gcc.c, gcov-dump.c, gcov.c, gen-protos.c,
	gensupport.c, protoize.c, toplev.c: Replace calls to
	`unlock_stream' with `unlock_std_streams'.

java:
	* gjavah.c, jcf-dump.c, jv-scan.c, jvgenmain.c: Replace calls
	to `unlock_stream' with `unlock_std_streams'.

From-SVN: r98753
parent 3e591bd2
2005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* collect2.c, gcc.c, gcov-dump.c, gcov.c, gen-protos.c,
gensupport.c, protoize.c, toplev.c: Replace calls to
`unlock_stream' with `unlock_std_streams'.
2005-04-25 Devang Patel <dpatel@apple.com> 2005-04-25 Devang Patel <dpatel@apple.com>
* dbxout.c (dbxout_type): Emit attribute vector. * dbxout.c (dbxout_type): Emit attribute vector.
......
...@@ -832,9 +832,7 @@ main (int argc, char **argv) ...@@ -832,9 +832,7 @@ main (int argc, char **argv)
#endif #endif
/* Unlock the stdio streams. */ /* Unlock the stdio streams. */
unlock_stream (stdin); unlock_std_streams ();
unlock_stream (stdout);
unlock_stream (stderr);
gcc_init_libintl (); gcc_init_libintl ();
......
...@@ -5996,9 +5996,7 @@ main (int argc, const char **argv) ...@@ -5996,9 +5996,7 @@ main (int argc, const char **argv)
#endif #endif
/* Unlock the stdio streams. */ /* Unlock the stdio streams. */
unlock_stream (stdin); unlock_std_streams ();
unlock_stream (stdout);
unlock_stream (stderr);
gcc_init_libintl (); gcc_init_libintl ();
......
...@@ -78,9 +78,7 @@ main (int argc ATTRIBUTE_UNUSED, char **argv) ...@@ -78,9 +78,7 @@ main (int argc ATTRIBUTE_UNUSED, char **argv)
int opt; int opt;
/* Unlock the stdio streams. */ /* Unlock the stdio streams. */
unlock_stream (stdin); unlock_std_streams ();
unlock_stream (stdout);
unlock_stream (stderr);
while ((opt = getopt_long (argc, argv, "hlpv", options, NULL)) != -1) while ((opt = getopt_long (argc, argv, "hlpv", options, NULL)) != -1)
{ {
......
...@@ -348,9 +348,7 @@ main (int argc, char **argv) ...@@ -348,9 +348,7 @@ main (int argc, char **argv)
int argno; int argno;
/* Unlock the stdio streams. */ /* Unlock the stdio streams. */
unlock_stream (stdin); unlock_std_streams ();
unlock_stream (stdout);
unlock_stream (stderr);
gcc_init_libintl (); gcc_init_libintl ();
......
...@@ -140,9 +140,7 @@ main (int argc ATTRIBUTE_UNUSED, char **argv) ...@@ -140,9 +140,7 @@ main (int argc ATTRIBUTE_UNUSED, char **argv)
progname = &argv[0][i]; progname = &argv[0][i];
/* Unlock the stdio streams. */ /* Unlock the stdio streams. */
unlock_stream (stdin); unlock_std_streams ();
unlock_stream (stdout);
unlock_stream (stderr);
INIT_SSTRING (&linebuf); INIT_SSTRING (&linebuf);
......
...@@ -907,9 +907,7 @@ init_md_reader_args_cb (int argc, char **argv, bool (*parse_opt)(const char *)) ...@@ -907,9 +907,7 @@ init_md_reader_args_cb (int argc, char **argv, bool (*parse_opt)(const char *))
rtx desc; rtx desc;
/* Unlock the stdio streams. */ /* Unlock the stdio streams. */
unlock_stream (stdin); unlock_std_streams ();
unlock_stream (stdout);
unlock_stream (stderr);
for (i = 1; i < argc; i++) for (i = 1; i < argc; i++)
{ {
......
2005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gjavah.c, jcf-dump.c, jv-scan.c, jvgenmain.c: Replace calls
to `unlock_stream' with `unlock_std_streams'.
2005-04-25 Jakub Jelinek <jakub@redhat.com> 2005-04-25 Jakub Jelinek <jakub@redhat.com>
* Make-lang.in (java/decl.o, java/resource.o): Depend on $(EXPR_H) * Make-lang.in (java/decl.o, java/resource.o): Depend on $(EXPR_H)
......
...@@ -2389,9 +2389,7 @@ main (int argc, char** argv) ...@@ -2389,9 +2389,7 @@ main (int argc, char** argv)
int opt; int opt;
/* Unlock the stdio streams. */ /* Unlock the stdio streams. */
unlock_stream (stdin); unlock_std_streams ();
unlock_stream (stdout);
unlock_stream (stderr);
gcc_init_libintl (); gcc_init_libintl ();
......
...@@ -941,9 +941,7 @@ main (int argc, char** argv) ...@@ -941,9 +941,7 @@ main (int argc, char** argv)
int argi, opt; int argi, opt;
/* Unlock the stdio streams. */ /* Unlock the stdio streams. */
unlock_stream (stdin); unlock_std_streams ();
unlock_stream (stdout);
unlock_stream (stderr);
gcc_init_libintl (); gcc_init_libintl ();
......
...@@ -148,9 +148,7 @@ main (int argc, char **argv) ...@@ -148,9 +148,7 @@ main (int argc, char **argv)
out = stdout; out = stdout;
/* Unlock the stdio streams. */ /* Unlock the stdio streams. */
unlock_stream (stdin); unlock_std_streams ();
unlock_stream (stdout);
unlock_stream (stderr);
gcc_init_libintl (); gcc_init_libintl ();
......
...@@ -59,9 +59,7 @@ main (int argc, char **argv) ...@@ -59,9 +59,7 @@ main (int argc, char **argv)
int i, last_arg; int i, last_arg;
/* Unlock the stdio streams. */ /* Unlock the stdio streams. */
unlock_stream (stdin); unlock_std_streams ();
unlock_stream (stdout);
unlock_stream (stderr);
gcc_init_libintl (); gcc_init_libintl ();
......
...@@ -4392,9 +4392,7 @@ main (int argc, char **const argv) ...@@ -4392,9 +4392,7 @@ main (int argc, char **const argv)
#endif #endif
/* Unlock the stdio streams. */ /* Unlock the stdio streams. */
unlock_stream (stdin); unlock_std_streams ();
unlock_stream (stdout);
unlock_stream (stderr);
gcc_init_libintl (); gcc_init_libintl ();
......
...@@ -1619,9 +1619,7 @@ general_init (const char *argv0) ...@@ -1619,9 +1619,7 @@ general_init (const char *argv0)
hex_init (); hex_init ();
/* Unlock the stdio streams. */ /* Unlock the stdio streams. */
unlock_stream (stdin); unlock_std_streams ();
unlock_stream (stdout);
unlock_stream (stderr);
gcc_init_libintl (); gcc_init_libintl ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment