[ruby-cvs:68076] normal:r60895 (trunk): file.c: simplify eaccess(3) callers

normal at ruby-lang.org normal at ruby-lang.org
Fri Nov 24 13:49:05 JST 2017


normal	2017-11-24 13:49:05 +0900 (Fri, 24 Nov 2017)

  New Revision: 60895

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

  Log:
    file.c: simplify eaccess(3) callers
    
    This will make future work to release GVL here simpler.
    
    * file.c (rb_eaccess): new function
      (rb_file_readable_p): use rb_eaccess
      (rb_file_writable_p): ditto
      (rb_file_executable_p): ditto

  Modified files:
    trunk/file.c


More information about the ruby-cvs mailing list