Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
233f10d3
Commit
233f10d3
authored
Nov 11, 1998
by
Tom Tromey
Committed by
Tom Tromey
Nov 11, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* jcf-dump.c (main): Correctly recognize `--'-style long options.
From-SVN: r23607
parent
2a55b8e8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
gcc/java/ChangeLog
+4
-0
gcc/java/jcf-dump.c
+4
-6
No files found.
gcc/java/ChangeLog
View file @
233f10d3
1998-11-11 Tom Tromey <tromey@cygnus.com>
* jcf-dump.c (main): Correctly recognize `--'-style long options.
Tue Nov 10 12:34:03 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
Tue Nov 10 12:34:03 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (is_compiled_class): Call safe_layout_class for class
* class.c (is_compiled_class): Call safe_layout_class for class
...
...
gcc/java/jcf-dump.c
View file @
233f10d3
...
@@ -718,12 +718,13 @@ DEFUN(main, (argc, argv),
...
@@ -718,12 +718,13 @@ DEFUN(main, (argc, argv),
{
{
char
*
arg
=
argv
[
argi
];
char
*
arg
=
argv
[
argi
];
/* Just let all arguments be given in either "-" or "--" form. */
if
(
arg
[
0
]
!=
'-'
||
!
strcmp
(
arg
,
"--"
))
if
(
arg
[
0
]
!=
'-'
||
!
strcmp
(
arg
,
"--"
))
break
;
break
;
if
(
arg
[
0
]
==
'-'
)
/* Just let all arguments be given in either "-" or "--" form. */
{
if
(
arg
[
1
]
==
'-'
)
++
arg
;
if
(
strcmp
(
arg
,
"-o"
)
==
0
&&
argi
+
1
<
argc
)
if
(
strcmp
(
arg
,
"-o"
)
==
0
&&
argi
+
1
<
argc
)
output_file
=
argv
[
++
argi
];
output_file
=
argv
[
++
argi
];
else
if
(
strcmp
(
arg
,
"-classpath"
)
==
0
&&
argi
+
1
<
argc
)
else
if
(
strcmp
(
arg
,
"-classpath"
)
==
0
&&
argi
+
1
<
argc
)
...
@@ -749,9 +750,6 @@ DEFUN(main, (argc, argv),
...
@@ -749,9 +750,6 @@ DEFUN(main, (argc, argv),
exit
(
FATAL_EXIT_CODE
);
exit
(
FATAL_EXIT_CODE
);
}
}
}
}
else
break
;
}
if
(
argi
==
argc
)
if
(
argi
==
argc
)
usage
();
usage
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment