diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-03-19 03:20:24 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-03-19 03:20:24 +0000 |
commit | 1f904eed442f268d9f856aa25edbc7d7e906e6ae (patch) | |
tree | cbaec0fd2c96e995c07daf489fbb8f62782621c9 /win32 | |
parent | aa6fa0c75dff68dbe7a66b2fa1add778a050fb5d (diff) |
* dir.c (glob_helper): replace lstat() by stat() to follow symlink
in the case like 'symlink/*'.
* dir.c (glob_helper): gave warning too much.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.h b/win32/win32.h index 1ffe7faa70..5df539ecbd 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -179,8 +179,8 @@ extern "C++" { #define pclose _pclose #define strcasecmp _stricmp #define strncasecmp _strnicmp -#undef rb_sys_stat -#define rb_sys_stat win32_stat +#undef stat +#define stat win32_stat /* these are defined in nt.c */ #ifdef __MINGW32__ |