[ruby-core:108245] [Ruby master Bug#18732] [Win32] `File.chardev?` and `File::Stat.chardev?` are not working
From:
"nobu (Nobuyoshi Nakada)" <noreply@...>
Date:
2022-04-15 02:42:00 UTC
List:
ruby-core #108245
Issue #18732 has been reported by nobu (Nobuyoshi Nakada).
----------------------------------------
Bug #18732: [Win32] `File.chardev?` and `File::Stat.chardev?` are not working
https://bugs.ruby-lang.org/issues/18732
* Author: nobu (Nobuyoshi Nakada)
* Status: Open
* Priority: Normal
* Backport: 2.6: REQUIRED, 2.7: REQUIRED, 3.0: REQUIRED, 3.1: REQUIRED
----------------------------------------
```
$ 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]}
```
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>