diff options
| author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-23 01:41:04 +0000 |
|---|---|---|
| committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-23 01:41:04 +0000 |
| commit | 30696602f46abc88a2745256eb6d0fda2170bef4 (patch) | |
| tree | 4d50def74b62aa06385e6dcb928498fb28e88807 | |
| parent | edbb6c80c4a1d56cfefc01d114cb916400937c22 (diff) | |
| download | ppe42-gcc-30696602f46abc88a2745256eb6d0fda2170bef4.tar.gz ppe42-gcc-30696602f46abc88a2745256eb6d0fda2170bef4.zip | |
* cppinit.c (cpp_read_main_file): Return NULL rather than false.
Fixes PR preprocessor/15067.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81068 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/cppinit.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2a805a2fdba..e75c903e5df 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-04-22 Per Bothner <per@bothner.com> + + * cppinit.c (cpp_read_main_file): Return NULL rather than false. + Fixes PR preprocessor/15067. + 2004-04-23 Andreas Schwab <schwab@suse.de> * config/ia64/ia64intrin.h: Add intermediate cast to void * to diff --git a/gcc/cppinit.c b/gcc/cppinit.c index a6da0b69b6f..84fa520953b 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -471,7 +471,7 @@ cpp_read_main_file (cpp_reader *pfile, const char *fname) pfile->main_file = _cpp_find_file (pfile, fname, &pfile->no_search_path, false); if (_cpp_find_failed (pfile->main_file)) - return false; + return NULL; _cpp_stack_file (pfile, pfile->main_file, false); |

