aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppdefault.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-04-06 05:21:36 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-04-06 05:21:36 +0000
commit7c0927142c51ad22532fb77f0a8027836cd1f8e9 (patch)
tree01525776aece00c4a0a1e9067077ab550278e061 /gcc/cppdefault.c
parent8d66b99ac2041c14b836475fec83b77acea675b7 (diff)
downloadgcc-7c0927142c51ad22532fb77f0a8027836cd1f8e9.zip
gcc-7c0927142c51ad22532fb77f0a8027836cd1f8e9.tar.gz
gcc-7c0927142c51ad22532fb77f0a8027836cd1f8e9.tar.bz2
cppfiles.c (open_file): Fail directories silently, but with an errno of NOENT set.
* cppfiles.c (open_file): Fail directories silently, but with an errno of NOENT set. (read_include_file): Move the common exit code to the sole caller. Return an int indicating success or failure. Let open_file handle directories. (stack_include_file): If read_include_file fails, push a "null" buffer. From-SVN: r41138
Diffstat (limited to 'gcc/cppdefault.c')
0 files changed, 0 insertions, 0 deletions