summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-01-25 13:30:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-01-25 13:30:11 +0000
commita26039acbce7999f85757ac1ea77fafc1c0ab81c (patch)
treeea43dc09009cef7066798ff24702e1ce872643b2 /file.c
parent06f4b438fb72e46410b0ee1337bd2efbb4813262 (diff)
* configure.in, dln.c, file.c, intern.h, missing.h (eaccess): use
system routine if provided. fixed: [ruby-core:07195] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/file.c b/file.c
index d3f7639ddf..9516e3f03f 100644
--- a/file.c
+++ b/file.c
@@ -818,6 +818,7 @@ group_member(GETGROUPS_T gid)
# define S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH)
#endif
+#ifndef HAVE_EACCESS
int
eaccess(const char *path, int mode)
{
@@ -857,6 +858,7 @@ eaccess(const char *path, int mode)
return access(path, mode);
#endif
}
+#endif
/*