[ruby-cvs:73447] akr:r66346 (trunk): Use File class methods to avoid pipe execution

akr at ruby-lang.org akr at ruby-lang.org
Wed Dec 12 14:07:49 JST 2018


akr	2018-12-12 14:07:49 +0900 (Wed, 12 Dec 2018)

  New Revision: 66346

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

  Log:
    Use File class methods to avoid pipe execution
    
    
    Following methods use corresponding File class methods
    instead of IO class methods.
    
    - Pathname#each_line
    - Pathname#read
    - Pathname#binread
    - Pathname#write
    - Pathname#binwrite
    - Pathname#readlines
    
    Reported by ooooooo_q.

  Modified files:
    trunk/ext/pathname/pathname.c


More information about the ruby-cvs mailing list