diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/c-opts.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b97153a..6f56f85 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/c-opts.c b/gcc/c-opts.c index 7f902ee..ba075f6 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -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); |
