From e83f4151398feb42c59971103505206ee37c0dbf Mon Sep 17 00:00:00 2001 From: usa Date: Sun, 19 Jan 2003 15:19:52 +0000 Subject: [PATCH] * file.c (eaccess): under windows, make eaccess() just call access(). [ruby-core:716], [ruby-bugs:PR#556] * ChangeLog: fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 ++++++- file.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d935cf567b..b0e6debc49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Jan 20 00:17:16 2003 Matt Armstrong + + * file.c (eaccess): under windows, make eaccess() just call + access(). [ruby-core:716], [ruby-bugs:PR#556] + Sun Jan 19 23:08:18 2003 Akinori MUSHA * lib/shellwords.rb (shellwords): A backslash ('\') in single @@ -601,7 +606,7 @@ Tue Dec 24 23:37:40 2002 TADA Tadashi Tue Dec 24 19:19:24 2002 Tietew - * numeric.c (DBL_MAX_10_EXP): fix typo. [ruby-dev:36826] + * numeric.c (DBL_MAX_10_EXP): fix typo. [ruby-dev:19175] Tue Dec 24 17:02:46 2002 Yukihiro Matsumoto diff --git a/file.c b/file.c index 20fd26afdd..257a086aad 100644 --- a/file.c +++ b/file.c @@ -463,7 +463,7 @@ eaccess(path, mode) const char *path; int mode; { -#ifdef S_IXGRP +#if defined(S_IXGRP) && !defined(_WIN32) struct stat st; int euid;