summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-03 12:35:29 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-03 12:35:29 +0000
commitf4755f214c91c726ba264d3053680da1ac59cbf7 (patch)
tree8708cd90d54be254fd7c9f8d1bce8d05191af5a1 /io.c
parent34c46a676680d26f11ea18f1b7f7ac2b582a60d0 (diff)
* 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
Diffstat (limited to 'io.c')
-rw-r--r--io.c5
1 files changed, 3 insertions, 2 deletions
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 <em>ios</em> to disk.
*
- * <code>NotImplementedError</code> is raised
- * if the underlying operating system does not support <em>fdatasync(2)</em>.
+ * If the underlying operating system does not support <em>fdatasync(2)</em>,
+ * <code>IO#fsync</code> is called instead (which might raise a
+ * <code>NotImplementedError</code>).
*/
static VALUE