Project

General

Profile

Actions

Bug #14346

closed

[PATCH] dir.c: pass flags to openat(2) correctly

Added by normalperson (Eric Wong) about 6 years ago. Updated about 6 years ago.

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

Description

dir.c: pass flags to openat(2) correctly

Flags are 3rd argument of openat(2) while the 4th argument
(mode_t) is unnecessary for our uses. This bug exists since
Ruby 2.5 from r58860 and was discoverd by strace.

  • dir.c (nogvl_opendir_at): use openat correctly
    [Feature #13056]

Files

Actions #1

Updated by Anonymous about 6 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r61754.


dir.c: pass flags to openat(2) correctly

Flags are 3rd argument of openat(2) while the 4th argument
(mode_t) is unnecessary for our uses. This bug exists since
Ruby 2.5 from r58860 and was discoverd by strace.

  • dir.c (nogvl_opendir_at): use openat correctly
    [Feature #13056] [Feature #14346]

Updated by naruse (Yui NARUSE) about 6 years ago

  • Backport changed from 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: REQUIRED to 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: DONE

ruby_2_5 r62427 merged revision(s) 61754.

Actions

Also available in: Atom PDF

Like0
Like0Like0