1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
matz 2001-03-19 03:20:24 +00:00
parent aa6fa0c75d
commit 1f904eed44
12 changed files with 106 additions and 63 deletions

View file

@ -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__