2016-11-06 Jack Howarth <howarth.at.gcc@gmail.com>
PR driver/78206
* incpath.c: (remove_dup(): Also silently ignore EPERM.
From-SVN: r241919
+2016-11-06 Jack Howarth <howarth.at.gcc@gmail.com>
+
+ PR driver/78206
+ * incpath.c: (remove_dup(): Also silently ignore EPERM.
+
2016-11-07 Martin Jambor <mjambor@suse.cz>
* tree.c (verify_type_variant): Use pointer comparison to check that
if (stat (cur->name, &st))
{
- /* Dirs that don't exist are silently ignored, unless verbose. */
- if (errno != ENOENT)
+ /* Dirs that don't exist or have denied permissions are
+ silently ignored, unless verbose. */
+ if ((errno != ENOENT) && (errno != EPERM))
cpp_errno (pfile, CPP_DL_ERROR, cur->name);
else
{