summaryrefslogtreecommitdiffstats
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
commit2fd68fa7c8b3a95e4acf7cd6f362457674dfd695 (patch)
treeea43dc09009cef7066798ff24702e1ce872643b2 /file.c
parent76ccb21ee71823b27c683c0e5d9a46dba682a335 (diff)
downloadruby-2fd68fa7c8b3a95e4acf7cd6f362457674dfd695.tar.gz
ruby-2fd68fa7c8b3a95e4acf7cd6f362457674dfd695.tar.xz
ruby-2fd68fa7c8b3a95e4acf7cd6f362457674dfd695.zip
* configure.in, dln.c, file.c, intern.h, missing.h (eaccess): use
system routine if provided. fixed: [ruby-core:07195] git-svn-id: http://svn.ruby-lang.org/repos/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 d3f7639dd..9516e3f03 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
/*