Project

General

Profile

« Previous | Next » 

Revision 0df79477

Added by U.Nakamura almost 9 years ago

  • 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.

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