Commit 80159a94 by Richard Kenner

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

From-SVN: r12939
parent 071b7030
......@@ -4456,7 +4456,7 @@ get_filename:
if (errno == EACCES)
break;
#else
if (errno != ENOENT)
if (errno != ENOENT && errno != ENOTDIR)
break;
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment