mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-29 21:00:24 +08:00
(do_include): Treat ENOTDIR like ENOENT when an open fails.
From-SVN: r12939
This commit is contained in:
parent
071b70305f
commit
80159a941c
@ -4456,7 +4456,7 @@ get_filename:
|
||||
if (errno == EACCES)
|
||||
break;
|
||||
#else
|
||||
if (errno != ENOENT)
|
||||
if (errno != ENOENT && errno != ENOTDIR)
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user