[ruby-cvs:63201] usa:r56036 (trunk): * io.c (nogvl_fsync, nogvl_fdatasync): on Windows, just ignore if the

usa at ruby-lang.org usa at ruby-lang.org
Tue Aug 30 14:59:17 JST 2016


usa	2016-08-30 14:59:17 +0900 (Tue, 30 Aug 2016)

  New Revision: 56036

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

  Log:
    * 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.

  Modified files:
    trunk/ChangeLog
    trunk/io.c


More information about the ruby-cvs mailing list