From f4755f214c91c726ba264d3053680da1ac59cbf7 Mon Sep 17 00:00:00 2001 From: kosaki Date: Sun, 3 Apr 2011 12:35:29 +0000 Subject: * configure.in: disable fdatasync again on Mac OS X. [ruby-core:35493][Bug #4500] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'io.c') diff --git a/io.c b/io.c index 322505f992..331420097a 100644 --- a/io.c +++ b/io.c @@ -1414,8 +1414,9 @@ rb_io_fsync(VALUE io) * * Immediately writes all buffered data in ios to disk. * - * NotImplementedError is raised - * if the underlying operating system does not support fdatasync(2). + * If the underlying operating system does not support fdatasync(2), + * IO#fsync is called instead (which might raise a + * NotImplementedError). */ static VALUE -- cgit v1.2.3