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
5643bb97
Commit
5643bb97
authored
May 08, 2002
by
Tom Tromey
Committed by
Tom Tromey
May 08, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gjavah.c (throwable_p): Use xstrdup, not strdup.
From-SVN: r53279
parent
6706f116
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
gcc/java/ChangeLog
+2
-0
gcc/java/gjavah.c
+2
-2
No files found.
gcc/java/ChangeLog
View file @
5643bb97
2002-05-07 Tom Tromey <tromey@redhat.com>
* gjavah.c (throwable_p): Use xstrdup, not strdup.
Fix for PR java/1200:
* gjavah.c (throwable_p): New function.
(decode_signature_piece): Use it. A `WeakReference' isn't the
...
...
gcc/java/gjavah.c
View file @
5643bb97
...
...
@@ -1137,11 +1137,11 @@ throwable_p (signature)
(
htab_del
)
free
);
/* Make sure the root classes show up in the tables. */
str
=
strdup
(
"java.lang.Throwable"
);
str
=
x
strdup
(
"java.lang.Throwable"
);
slot
=
htab_find_slot
(
throw_hash
,
str
,
INSERT
);
*
slot
=
(
PTR
)
str
;
str
=
strdup
(
"java.lang.Object"
);
str
=
x
strdup
(
"java.lang.Object"
);
slot
=
htab_find_slot
(
non_throw_hash
,
str
,
INSERT
);
*
slot
=
(
PTR
)
str
;
...
...
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