From: Richard Kenner Date: Wed, 9 Oct 1996 20:29:06 +0000 (-0400) Subject: (do_include): Treat ENOTDIR like ENOENT when an open fails. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80159a941c987442eb4d1e5f203b2ff432264373;p=gcc.git (do_include): Treat ENOTDIR like ENOENT when an open fails. From-SVN: r12939 --- diff --git a/gcc/cccp.c b/gcc/cccp.c index 4d1961191ee..2a36235fef2 100644 --- a/gcc/cccp.c +++ b/gcc/cccp.c @@ -4456,7 +4456,7 @@ get_filename: if (errno == EACCES) break; #else - if (errno != ENOENT) + if (errno != ENOENT && errno != ENOTDIR) break; #endif }