mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 17:55:11 +08:00
(try): Insist that temp dir be searchable.
From-SVN: r13260
This commit is contained in:
parent
b2932ae5b8
commit
cc3af271e6
@ -80,7 +80,7 @@ try (dir, base)
|
|||||||
if (base != 0)
|
if (base != 0)
|
||||||
return base;
|
return base;
|
||||||
if (dir != 0
|
if (dir != 0
|
||||||
&& access (dir, R_OK | W_OK) == 0)
|
&& access (dir, R_OK | W_OK | X_OK) == 0)
|
||||||
return dir;
|
return dir;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user