From 3da2897dc0f86af27ca206c7bc2291ba7e563aa3 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 25 Jan 2006 13:30:11 +0000 Subject: * 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/branches/ruby_1_8@9856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'file.c') diff --git a/file.c b/file.c index aab0afc2d6..698172a3fc 100644 --- a/file.c +++ b/file.c @@ -849,6 +849,7 @@ group_member(gid) # define S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH) #endif +#ifndef HAVE_EACCESS int eaccess(path, mode) const char *path; @@ -890,6 +891,7 @@ eaccess(path, mode) return access(path, mode); #endif } +#endif /* -- cgit v1.2.3