[ruby-cvs:68935] normal:r61754 (trunk): dir.c: pass flags to openat(2) correctly

normal at ruby-lang.org normal at ruby-lang.org
Wed Jan 10 10:07:27 JST 2018


normal	2018-01-10 10:07:27 +0900 (Wed, 10 Jan 2018)

  New Revision: 61754

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61754

  Log:
    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]

  Modified files:
    trunk/dir.c


More information about the ruby-cvs mailing list