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
acf8bc25
Commit
acf8bc25
authored
Mar 12, 2002
by
Bryce McKinlay
Committed by
Bryce McKinlay
Mar 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* jcf-write.c (write_classfile): Improve error strings.
From-SVN: r50649
parent
85559bd4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/java/ChangeLog
+4
-0
gcc/java/jcf-write.c
+2
-2
No files found.
gcc/java/ChangeLog
View file @
acf8bc25
2002-03-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* jcf-write.c (write_classfile): Improve error strings.
2002-03-11 Eric Blake <ebb9@email.byu.edu>
* lex.c: Adjust comments to GNU standards.
...
...
gcc/java/jcf-write.c
View file @
acf8bc25
...
...
@@ -3370,14 +3370,14 @@ write_classfile (clas)
{
FILE
*
stream
=
fopen
(
class_file_name
,
"wb"
);
if
(
stream
==
NULL
)
fatal_io_error
(
"can't
to open %s
"
,
class_file_name
);
fatal_io_error
(
"can't
open %s for writing
"
,
class_file_name
);
jcf_dependency_add_target
(
class_file_name
);
init_jcf_state
(
state
,
work
);
chunks
=
generate_classfile
(
clas
,
state
);
write_chunks
(
stream
,
chunks
);
if
(
fclose
(
stream
))
fatal_io_error
(
"
can't close
%s"
,
class_file_name
);
fatal_io_error
(
"
error closing
%s"
,
class_file_name
);
free
(
class_file_name
);
}
release_jcf_state
(
state
);
...
...
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