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:
parent
aa6fa0c75d
commit
1f904eed44
12 changed files with 106 additions and 63 deletions
|
@ -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__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue