From: "nobu (Nobuyoshi Nakada)" Date: 2022-04-15T02:42:00+00:00 Subject: [ruby-core:108245] [Ruby master Bug#18732] [Win32] `File.chardev?` and `File::Stat.chardev?` are not working 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: