diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-13 18:06:52 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-13 18:06:52 +0000 |
commit | d07c9932fe3d8be3478554d156bf3bf189027339 (patch) | |
tree | fd24969394b3b9dffb1cc037cebd35f54276e5b8 /gcc/java/lex.c | |
parent | a82984ec82161ff946c0e260660fbbcbdad83b28 (diff) | |
download | ppe42-gcc-d07c9932fe3d8be3478554d156bf3bf189027339.tar.gz ppe42-gcc-d07c9932fe3d8be3478554d156bf3bf189027339.zip |
* diagnostic.c (output_format): Add support for %m.
(output_printf, output_verbatim, diagnostic_set_info,
verbatim): Set err_no field of the text_info structure being
initialized.
(fatal_io_error): Delete function.
* diagnostic.h (text_info): Add err_no field.
* toplev.h (fatal_io_error): Delete prototype.
* c-opts.c, c-pch.c, dwarfout.c, ggc-common.c, ggc-page.c, graph.c
* toplev.c, config/mips/mips.c, config/rs6000/host-darwin.c
* f/com.c, java/jcf-parse.c, java/jcf-write.c, java/lex.c
* objc/objc-act.c: Replace all calls to fatal_io_error with
calls to fatal_error; add ": %m" to the end of all the affected
error messages.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66769 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/lex.c')
-rw-r--r-- | gcc/java/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/lex.c b/gcc/java/lex.c index e21bfd649af..b2655facec1 100644 --- a/gcc/java/lex.c +++ b/gcc/java/lex.c @@ -1825,7 +1825,7 @@ java_get_line_col (const char *filename ATTRIBUTE_UNUSED, char *base; if (!(fp = fopen (filename, "r"))) - fatal_io_error ("can't open %s", filename); + fatal_error ("can't open %s: %m", filename); while (cline != line) { |