mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
win32.c: w32_lstati64
* win32/win32.c (winnt_stat): stat with following symbolic links. * win32/win32.c (winnt_lstat): rename old winnt_stat, which does not follow symbolic links. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9da887cf57
commit
f5b96e594c
7 changed files with 115 additions and 2 deletions
2
file.c
2
file.c
|
@ -95,7 +95,7 @@ int flock(int, int);
|
|||
#ifdef _WIN32
|
||||
#define STAT(p, s) rb_w32_ustati64((p), (s))
|
||||
#undef lstat
|
||||
#define lstat(p, s) rb_w32_ustati64((p), (s))
|
||||
#define lstat(p, s) rb_w32_ulstati64((p), (s))
|
||||
#undef access
|
||||
#define access(p, m) rb_w32_uaccess((p), (m))
|
||||
#undef chmod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue