c-opts.c (c_common_post_options): On fopen failure, return false, not NULL.

* c-opts.c (c_common_post_options): On fopen failure, return
	false, not NULL.

From-SVN: r64004
This commit is contained in:
Hans-Peter Nilsson 2003-03-08 23:46:46 +00:00 committed by Hans-Peter Nilsson
parent 32b0bbaa6d
commit c366ade5df
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-03-09 Hans-Peter Nilsson <hp@bitrange.com>
* c-opts.c (c_common_post_options): On fopen failure, return
false, not NULL.
2003-03-08 Hans-Peter Nilsson <hp@bitrange.com>
* config/cris/cris_abi_symbol.c: #include tconfig.h and tm.h, not

View file

@ -1508,7 +1508,7 @@ c_common_post_options (pfilename)
if (out_stream == NULL)
{
fatal_io_error ("opening output file %s", out_fname);
return NULL;
return false;
}
init_pp_output (out_stream);