summaryrefslogtreecommitdiff
path: root/shells/bash1/files/patch-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'shells/bash1/files/patch-test.c')
-rw-r--r--shells/bash1/files/patch-test.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/shells/bash1/files/patch-test.c b/shells/bash1/files/patch-test.c
new file mode 100644
index 000000000000..d05535c86718
--- /dev/null
+++ b/shells/bash1/files/patch-test.c
@@ -0,0 +1,18 @@
+--- test.c.orig Fri Dec 23 06:45:12 1994
++++ test.c Sun Feb 10 02:34:09 2002
+@@ -194,6 +194,7 @@
+ return (stat (path, finfo));
+ }
+
++#if 0 /* 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. */