From c8eabecb9d5ee48ad4a0fc25220724f46691bfd9 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 22 Jun 2009 16:31:49 +0000 Subject: [PATCH] rdoc update. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/io.c b/io.c index d59fbc5472..59b47edb55 100644 --- a/io.c +++ b/io.c @@ -912,11 +912,13 @@ rb_io_set_sync(io, mode) * ios.fsync => 0 or nil * * Immediately writes all buffered data in ios to disk. - * Returns nil if the underlying operating system does not - * support fsync(2). Note that fsync differs from + * Note that fsync differs from * using IO#sync=. The latter ensures that data is flushed * from Ruby's buffers, but doesn't not guarantee that the underlying * operating system actually writes it to disk. + * + * NotImplementedError is raised + * if the underlying operating system does not support fsync(2). */ static VALUE