diff options
author | Zack Weinberg <zack@codesourcery.com> | 2003-05-13 18:06:52 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2003-05-13 18:06:52 +0000 |
commit | fa6ef81367f0c24ec0b04e753313cdb023e10217 (patch) | |
tree | fd24969394b3b9dffb1cc037cebd35f54276e5b8 /gcc/objc | |
parent | 3bec3c0c9cadc98f39f7072cb77a1c1b90ada59b (diff) | |
download | gcc-fa6ef81367f0c24ec0b04e753313cdb023e10217.zip gcc-fa6ef81367f0c24ec0b04e753313cdb023e10217.tar.gz gcc-fa6ef81367f0c24ec0b04e753313cdb023e10217.tar.bz2 |
diagnostic.c (output_format): Add support for %m.
* 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.
From-SVN: r66769
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/objc-act.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index dd6b87e..0625958 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -449,7 +449,7 @@ objc_init () register char * const dumpname = concat (dump_base_name, ".decl", NULL); gen_declaration_file = fopen (dumpname, "w"); if (gen_declaration_file == 0) - fatal_io_error ("can't open %s", dumpname); + fatal_error ("can't open %s: %m", dumpname); free (dumpname); } |