Project

General

Profile

Bug #14346

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

Added by normalperson (Eric Wong) 5 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
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]

Associated revisions

Revision 7c7d47d2
Added by normal 5 months ago

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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 61754
Added by normalperson (Eric Wong) 5 months ago

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]

Revision 55c5054c
Added by naruse (Yui NARUSE) 3 months ago

merge revision(s) 61754: [Backport #14346]

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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 62427
Added by naruse (Yui NARUSE) 3 months ago

merge revision(s) 61754: [Backport #14346]

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]

History

#1 Updated by Anonymous 5 months 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]

#2 [ruby-core:85595] Updated by naruse (Yui NARUSE) 3 months 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.

Also available in: Atom PDF