diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-02 19:41:01 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-02 19:41:01 +0000 |
commit | 8b48053bebc35d22a8d7a95578f5efaac6d1a10b (patch) | |
tree | b34f60024e11330ff20fb7179c8e1e715960a5de /io.c | |
parent | 9e5f063138dbb6c47835b31fc2a86a82b15ab364 (diff) |
* io.c (rb_io_fsync): need to fsync even if on Windows. fixed mistake of
r45254 and r45256.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1925,10 +1925,8 @@ rb_io_fsync(VALUE io) if (io_fflush(fptr) < 0) rb_sys_fail(0); -# ifndef _WIN32 if ((int)rb_thread_io_blocking_region(nogvl_fsync, fptr, fptr->fd) < 0) rb_sys_fail_path(fptr->pathv); -# endif return INT2FIX(0); } #else |