(try): Insist that temp dir be searchable.

From-SVN: r13260
This commit is contained in:
Richard Kenner 1996-12-10 09:44:55 -05:00
parent b2932ae5b8
commit cc3af271e6

View File

@ -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;
} }