aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-05-05 12:09:03 +0800
committerkris <kris@FreeBSD.org>2002-05-05 12:09:03 +0800
commitcd17c23393499bd47e2614cf1b95fbf834dc6cec (patch)
treeb4cd0ac3f31a7a2ef74c57a17602299e481e1cb0
parent096415f4fc20233d6b8eee398c75200306cf982f (diff)
downloadfreebsd-ports-gnome-cd17c23393499bd47e2614cf1b95fbf834dc6cec.tar.gz
freebsd-ports-gnome-cd17c23393499bd47e2614cf1b95fbf834dc6cec.tar.zst
freebsd-ports-gnome-cd17c23393499bd47e2614cf1b95fbf834dc6cec.zip
eaccess() only exists on recent versions of -current, not on -stable.
Pointy hat to: obrien
-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. */