Project

General

Profile

« Previous | Next » 

Revision 6468b9be

Added by usa (Usaku NAKAMURA) over 7 years ago

merge revision(s) 56036,56041: [Backport #12713]

    * io.c (nogvl_fsync, nogvl_fdatasync): on Windows, just ignore if the
      fd is associated to non-disk device.  if call fsync and/or fdatasync
      with such fds, it causes Errno::EBADF exception and the behavior is
      incomatible with ruby 2.1 and earlier unintendedly introduced.
      incompatible with ruby 2.1 and earlier unintentionally introduced.

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