diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1996-01-16 10:56:29 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1996-01-16 10:56:29 -0800 |
commit | f14c3e3d872e4a527640c3255e16187b48d3e32b (patch) | |
tree | e1194d9d9f32862a193539aaa04d7ca4b4a33e45 /gcc | |
parent | 7e245bad44b8b93a64a91de7e867090421684b78 (diff) | |
download | gcc-f14c3e3d872e4a527640c3255e16187b48d3e32b.zip gcc-f14c3e3d872e4a527640c3255e16187b48d3e32b.tar.gz gcc-f14c3e3d872e4a527640c3255e16187b48d3e32b.tar.bz2 |
(new_include_prefix): Ignore ENOTDIR error from stat.
From-SVN: r11032
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cccp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9795,7 +9795,7 @@ new_include_prefix (prev_file_name, prefix, name) /* Ignore a nonexistent directory. */ if (stat (len ? dir->fname : ".", &dir->st) != 0) { - if (errno != ENOENT) + if (errno != ENOENT && errno != ENOTDIR) error_from_errno (dir->fname); free (dir); return 0; |