[ruby-cvs:68593] glass:r61412 (trunk): io.c: ignore EPERM

glass at ruby-lang.org glass at ruby-lang.org
Fri Dec 22 17:47:39 JST 2017


glass	2017-12-22 17:47:39 +0900 (Fri, 22 Dec 2017)

  New Revision: 61412

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

  Log:
    io.c: ignore EPERM
    
    * io.c (nogvl_copy_file_range): ignore EPERM and fallback to
      sendfile(2) or read/write. copy_file_range(2) may not exist
      even if __NR_copy_file_range is defined in the build environment.
      [Bug #14207]

  Modified files:
    trunk/io.c


More information about the ruby-cvs mailing list