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
36da0e78
Commit
36da0e78
authored
Feb 01, 2003
by
Mark Wielaard
Committed by
Mark Wielaard
Feb 01, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gjavah.c (throwable_p): Allocate 1 more byte for string.
From-SVN: r62228
parent
2f278625
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/java/ChangeLog
+4
-0
gcc/java/gjavah.c
+1
-1
No files found.
gcc/java/ChangeLog
View file @
36da0e78
2003-01-31 Mark Wielaard <mark@klomp.org>
* gjavah.c (throwable_p): Allocate 1 more byte for string.
2003-01-31 Nathan Sidwell <nathan@codesourcery.com>
* class.c (make_class): Use BINFO_ELTS.
...
...
gcc/java/gjavah.c
View file @
36da0e78
...
...
@@ -1119,7 +1119,7 @@ throwable_p (const unsigned char *clname)
for
(
length
=
0
;
clname
[
length
]
!=
';'
&&
clname
[
length
]
!=
'\0'
;
++
length
)
;
current
=
ALLOC
(
length
);
current
=
ALLOC
(
length
+
1
);
for
(
i
=
0
;
i
<
length
;
++
i
)
current
[
i
]
=
clname
[
i
]
==
'/'
?
'.'
:
clname
[
i
];
current
[
length
]
=
'\0'
;
...
...
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