aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-06-28 19:03:08 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-06-28 19:03:08 +0000
commitd4506961cd58fde924aa6561e8896e18161b82ad (patch)
tree82b11e25ea2057714b83389ff3651dad11f94f5e /gcc/cpplex.c
parent47ec19c5bb9a7992d1a5f2a561df3b47dd6ea539 (diff)
downloadgcc-d4506961cd58fde924aa6561e8896e18161b82ad.zip
gcc-d4506961cd58fde924aa6561e8896e18161b82ad.tar.gz
gcc-d4506961cd58fde924aa6561e8896e18161b82ad.tar.bz2
cppfiles.c (open_include_file): If open(2) returns EMFILE or ENFILE...
* cppfiles.c (open_include_file): If open(2) returns EMFILE or ENFILE, close all cached file descriptors and try again. (_cpp_execute_include): Keep a count of the number of times each header is included. (close_cached_fd): New function. * cpphash.h (struct include_file): Rename before to include_count; all users updated. Make include_count and sysp unsigned short. * cppinit.c (cpp_finish): If -H, report headers that could use reinclude guards. (report_missing_guard): New function. From-SVN: r34760
Diffstat (limited to 'gcc/cpplex.c')
0 files changed, 0 insertions, 0 deletions