Bug #18732
closed
[Win32] `File.chardev?` and `File::Stat.chardev?` are not working
Added by nobu (Nobuyoshi Nakada) almost 3 years ago.
Updated over 2 years ago.
Description
$ ruby -v -e 'p ["con", "nul"].to_h {|f| [f, [File.chardev?(f), File.stat(f).chardev?]]}'
ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x64-mingw32]
{"con"=>[false, false], "nul"=>[false, false]}
- Status changed from Open to Closed
- Backport changed from 2.6: REQUIRED, 2.7: REQUIRED, 3.0: REQUIRED, 3.1: REQUIRED to 2.7: WONTFIX, 3.0: DONE, 3.1: REQUIRED
- Backport changed from 2.7: WONTFIX, 3.0: DONE, 3.1: REQUIRED to 2.7: WONTFIX, 3.0: DONE, 3.1: DONE
ruby_3_1 e3607e687014da4f6347c462e7d11fb67000b733 merged revision(s) a0040af6715d85f416f1282588974e151a8164eb.
Also available in: Atom
PDF
Like0
Like0Like0Like0