summaryrefslogtreecommitdiff
path: root/shells/bash1
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-05-05 04:09:03 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-05-05 04:09:03 +0000
commit99f937e31bccfc45b93eb29d7461e604d6c2dc33 (patch)
treec25026c141a0abd1d10665ee08206a086004958b /shells/bash1
parentUpdate to 0.60. (diff)
eaccess() only exists on recent versions of -current, not on -stable.
Pointy hat to: obrien
Notes
Notes: svn path=/head/; revision=58566
Diffstat (limited to 'shells/bash1')
-rw-r--r--shells/bash1/files/patch-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/bash1/files/patch-test.c b/shells/bash1/files/patch-test.c
index d05535c86718..66a14d3e62a5 100644
--- a/shells/bash1/files/patch-test.c
+++ b/shells/bash1/files/patch-test.c
@@ -1,10 +1,10 @@
--- test.c.orig Fri Dec 23 06:45:12 1994
-+++ test.c Sun Feb 10 02:34:09 2002
++++ test.c Sat May 4 21:08:08 2002
@@ -194,6 +194,7 @@
return (stat (path, finfo));
}
-+#if 0 /* use native FreeBSD libc version */
++#if defined(__FreeBSD__) && __FreeBSD_version < 500023 /* use native FreeBSD libc version */
/* Do the same thing access(2) does, but use the effective uid and gid,
and don't make the mistake of telling root that any file is
executable. */