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:
parent
32b0bbaa6d
commit
c366ade5df
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue