Project

General

Profile

Actions

Bug #18732

closed

[Win32] `File.chardev?` and `File::Stat.chardev?` are not working

Added by nobu (Nobuyoshi Nakada) about 2 years ago. Updated over 1 year ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:108245]

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]}
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0