From: "nagachika (Tomoyuki Chikanaga)" <noreply@...> Date: 2022-09-25T05:05:43+00:00 Subject: [ruby-core:110061] [Ruby master Bug#18732] [Win32] `File.chardev?` and `File::Stat.chardev?` are not working Issue #18732 has been updated by nagachika (Tomoyuki Chikanaga). 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. ---------------------------------------- Bug #18732: [Win32] `File.chardev?` and `File::Stat.chardev?` are not working https://bugs.ruby-lang.org/issues/18732#change-99312 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Priority: Normal * Backport: 2.7: WONTFIX, 3.0: DONE, 3.1: DONE ---------------------------------------- ``` $ 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>