Commit ca20820e by Tom Tromey Committed by Tom Tromey

re PR driver/30714 (gcj driver doesn't recognize files starting with II)

	PR java/30714:
	* jvspec.c (lang_specific_driver): Check for the '-' in '-I'.

From-SVN: r121666
parent 4aa9ca50
2007-02-06 Tom Tromey <tromey@redhat.com>
PR java/30714:
* jvspec.c (lang_specific_driver): Check for the '-' in '-I'.
2007-02-03 Kazu Hirata <kazu@codesourcery.com> 2007-02-03 Kazu Hirata <kazu@codesourcery.com>
* java-tree.h, javaop.def, jcf-parse.c: Fix comment typos. * java-tree.h, javaop.def, jcf-parse.c: Fix comment typos.
......
...@@ -512,7 +512,7 @@ lang_specific_driver (int *in_argc, const char *const **in_argv, ...@@ -512,7 +512,7 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
arglist[j] = "-xnone"; arglist[j] = "-xnone";
} }
if (argv[i][1] == 'I') if (argv[i][0] == '-' && argv[i][1] == 'I')
{ {
const char *arg; const char *arg;
if (argv[i][2] == '\0') if (argv[i][2] == '\0')
......
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