Commit 68fe024e by Jack Howarth Committed by Mike Stump

re PR driver/78206 (bootstrap failure under Apple sandbox that blacklists reads in /usr/local)

2016-11-06  Jack Howarth  <howarth.at.gcc@gmail.com>

	PR driver/78206
	* incpath.c: (remove_dup(): Also silently ignore EPERM.

From-SVN: r241919
parent f73fbf90
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> 2016-11-07 Martin Jambor <mjambor@suse.cz>
* tree.c (verify_type_variant): Use pointer comparison to check that * tree.c (verify_type_variant): Use pointer comparison to check that
...@@ -253,8 +253,9 @@ remove_duplicates (cpp_reader *pfile, struct cpp_dir *head, ...@@ -253,8 +253,9 @@ remove_duplicates (cpp_reader *pfile, struct cpp_dir *head,
if (stat (cur->name, &st)) if (stat (cur->name, &st))
{ {
/* Dirs that don't exist are silently ignored, unless verbose. */ /* Dirs that don't exist or have denied permissions are
if (errno != ENOENT) silently ignored, unless verbose. */
if ((errno != ENOENT) && (errno != EPERM))
cpp_errno (pfile, CPP_DL_ERROR, cur->name); cpp_errno (pfile, CPP_DL_ERROR, cur->name);
else else
{ {
......
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