Up to [local] / src / bin / ksh
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_3_5
Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 10 19:09:07 2003 UTC (20 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5
Changes since 1.9: +6 -10 lines
Diff to previous 1.9 (colored)
The special case code for "test -x" over NFS was incorrect. The right thing to do is to try access(2) first (since that occurs on the NFS server side) and only check for the absence of an execute bit when access(2) succeeds. Closes PR 3465