(do_include): Treat ENOTDIR like ENOENT when an open fails.

From-SVN: r12939
This commit is contained in:
Richard Kenner 1996-10-09 16:29:06 -04:00
parent 071b70305f
commit 80159a941c

View File

@ -4456,7 +4456,7 @@ get_filename:
if (errno == EACCES)
break;
#else
if (errno != ENOENT)
if (errno != ENOENT && errno != ENOTDIR)
break;
#endif
}