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 #1

Updated by nobu (Nobuyoshi Nakada) about 2 years ago

  • Status changed from Open to Closed

Applied in changeset git|a0040af6715d85f416f1282588974e151a8164eb.


[Win32] Fix mode of character/pipe device stat [Bug #18732]

Actions #2

Updated by usa (Usaku NAKAMURA) almost 2 years ago

  • 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

Updated by nagachika (Tomoyuki Chikanaga) over 1 year ago

  • 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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0