aboutsummaryrefslogtreecommitdiff
path: root/shells/bash1/files/patch-test.c
blob: 66a14d3e62a5bcf02911326636df4fbe9efdefa1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- test.c.orig	Fri Dec 23 06:45:12 1994
+++ test.c	Sat May  4 21:08:08 2002
@@ -194,6 +194,7 @@
   return (stat (path, finfo));
 }
 
+#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. */
@@ -237,6 +238,7 @@
 
   return (-1);
 }
+#endif
 
 #if defined (HAVE_GETGROUPS)
 /* The number of groups that this user is a member of. */