summaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-19 03:20:24 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-19 03:20:24 +0000
commit5ab2b8a553950333ff98642a4e4c8d8d3d87f4b8 (patch)
treecbaec0fd2c96e995c07daf489fbb8f62782621c9 /win32
parentd97ac4405eb23ce98c49de5f1fd486755aa6a503 (diff)
downloadruby-5ab2b8a553950333ff98642a4e4c8d8d3d87f4b8.tar.gz
ruby-5ab2b8a553950333ff98642a4e4c8d8d3d87f4b8.tar.xz
ruby-5ab2b8a553950333ff98642a4e4c8d8d3d87f4b8.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@1261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 1ffe7faa7..5df539ecb 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__