mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 18:25:40 +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)
|
||||
return base;
|
||||
if (dir != 0
|
||||
&& access (dir, R_OK | W_OK) == 0)
|
||||
&& access (dir, R_OK | W_OK | X_OK) == 0)
|
||||
return dir;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user