diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-14 03:23:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-14 03:23:56 +0000 |
commit | 00f7db376cb3b0176de738d9f9c172397771fbd8 (patch) | |
tree | 9766226a065ac37bcaceeb5fe6bd23353862a6a4 /test/ruby/test_dir_m17n.rb | |
parent | b48ef1382f57e4a89a28382f60d09236d328fece (diff) | |
download | ruby-00f7db376cb3b0176de738d9f9c172397771fbd8.tar.gz |
dir.h: direct::d_type
* dir.c (glob_helper): use d_type to reduce lstat system calls.
* win32/dir.h (struct direct): add d_type instead of d_isdir and
d_isrep. SYMLINKD is unreliable, since the target can be
replaced after a link was created.
* win32/win32.c (readdir_internal): set d_type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_dir_m17n.rb')
0 files changed, 0 insertions, 0 deletions