mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 10:50:51 +08:00
re PR java/45773 (gcj fails to compile java)
2010-09-27 Andrew Haley <aph@redhat.com> PR java/45773 * jvgenmain.c (main): Fix arg processing. From-SVN: r164679
This commit is contained in:
parent
247df3b6d9
commit
06f1db4b1c
@ -1,3 +1,8 @@
|
||||
2010-09-27 Andrew Haley <aph@redhat.com>
|
||||
|
||||
PR java/45773
|
||||
* jvgenmain.c (main): Fix arg processing.
|
||||
|
||||
2010-09-22 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* jvspec.c (lang_specific_driver): Handle OPT__help instead of
|
||||
|
@ -123,8 +123,12 @@ main (int argc, char **argv)
|
||||
for (i = 1; i < last_arg; ++i)
|
||||
{
|
||||
const char *p;
|
||||
|
||||
if (strcmp (argv[i], "-D") == 0)
|
||||
continue;
|
||||
|
||||
fprintf (stream, " \"");
|
||||
for (p = &argv[i][2]; *p; ++p)
|
||||
for (p = argv[i]; *p; ++p)
|
||||
{
|
||||
if (! ISPRINT (*p))
|
||||
fprintf (stream, "\\%o", *p);
|
||||
|
Loading…
x
Reference in New Issue
Block a user