]> gcc.gnu.org Git - gcc.git/commit
cppfiles.c (lookup_include_file): Rename to open_file.
authorNeil Booth <neilb@earthling.net>
Thu, 21 Sep 2000 18:01:22 +0000 (18:01 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Thu, 21 Sep 2000 18:01:22 +0000 (18:01 +0000)
commit2047e26f26df59ce6e571ceaff5e6cb7bbd3f930
treef92210f664cc3073db2b19b2e57ad36a07dae659
parent2359a5e1f978a43a821da7c814280fe34d33698d
cppfiles.c (lookup_include_file): Rename to open_file.

* cppfiles.c (lookup_include_file): Rename to open_file.
Always create a splay tree value, even on syscall failures.
Negative entries indicated by fd == -2.
Re-open files closed in the meantime.
(_cpp_fake_include): Create a negative splay tree entry.
(find_include_file, cpp_read_file): Update for function name
change.
* gcc.gd/cpp/mi4.c: Testcase.

From-SVN: r36564
gcc/ChangeLog
gcc/cppfiles.c
gcc/testsuite/gcc.dg/cpp/mi4.c [new file with mode: 0644]
This page took 0.062079 seconds and 5 git commands to generate.