Project

General

Profile

Actions

Bug #18734

closed

[Win32] `File.sticky?` returns `nil` while `File::Stat.sticky?` returns `false`

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

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

Description

On the platforms where sticky bit is not provided, File.sticky? returns nil while File::Stat.sticky? returns false.
It seems changed accidentally together with test_s() at git|86307f52ee1b3c5aa76e2fd6ee118e681dd76905.

Actions #1

Updated by nobu (Nobuyoshi Nakada) about 2 years ago

  • Status changed from Open to Closed

Applied in changeset git|7f81f335478a3ca873f34e3bc0af6927819d3e84.


Return false where sticky-bit is not provided [Bug #18734]

Actions #2

Updated by usa (Usaku NAKAMURA) almost 2 years ago

  • Backport changed from 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 89eab8e0bf34ed36f32c1f8c230790f8b23a356f merged revision(s) 7f81f335478a3ca873f34e3bc0af6927819d3e84.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0