diff options
author | Yuta Saito <kateinoigakukun@gmail.com> | 2022-03-17 11:05:15 +0000 |
---|---|---|
committer | Yuta Saito <kateinoigakukun@gmail.com> | 2022-04-03 01:13:16 +0900 |
commit | 44d0caa1ca56b17bf0ed9e3daf446c1eaacae108 (patch) | |
tree | 4c44fccb38118f611195c25e5f52143fa4132f99 /numeric.rb | |
parent | 07acd6006c69370c7af4ca50221f1a8166d78e3f (diff) | |
download | ruby-44d0caa1ca56b17bf0ed9e3daf446c1eaacae108.tar.gz |
dir.c: refresh pathtype when emulating `IFTODT` in `glob_helper`
When using `IFTODT` defined in libc, `dirent.d_type` oriented pathtype
is compatible with `IFTODT(stat.st_mode)`. However they are not
compatible when emulating `IFTODT`, so `glob_helper` has to stat instead
of reusing dirent result by passing unknown pathtype to `glob_helper`.
This is a follow-up fix of 0c90ca4dd0abbd28d7bb34b9241d93995ab9cfb7
Diffstat (limited to 'numeric.rb')
0 files changed, 0 insertions, 0 deletions