diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-30 05:59:17 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-30 05:59:17 +0000 |
commit | 0df79477bd2cd534ad2d89bfdbf9708c64b59eed (patch) | |
tree | 5f71bbcc2b8f1bb459bb29de470f8b5055b89ead /prelude.rb | |
parent | 8a1c7babecf43863ccf28f95e1e57631a3da4202 (diff) | |
download | bundler-0df79477bd2cd534ad2d89bfdbf9708c64b59eed.tar.gz |
* 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
Diffstat (limited to 'prelude.rb')
0 files changed, 0 insertions, 0 deletions