diff options
author | kris <kris@FreeBSD.org> | 2002-05-05 04:09:03 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-05-05 04:09:03 +0000 |
commit | cd17c23393499bd47e2614cf1b95fbf834dc6cec (patch) | |
tree | b4cd0ac3f31a7a2ef74c57a17602299e481e1cb0 /shells/bash1 | |
parent | 096415f4fc20233d6b8eee398c75200306cf982f (diff) | |
download | FreeBSD-ports-cd17c23393499bd47e2614cf1b95fbf834dc6cec.zip FreeBSD-ports-cd17c23393499bd47e2614cf1b95fbf834dc6cec.tar.gz |
eaccess() only exists on recent versions of -current, not on -stable.
Pointy hat to: obrien
Diffstat (limited to 'shells/bash1')
-rw-r--r-- | shells/bash1/files/patch-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/bash1/files/patch-test.c b/shells/bash1/files/patch-test.c index d05535c..66a14d3 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. */ |