[前][次][番号順一覧][スレッド一覧]

ruby-changes:12149

From: akr <ko1@a...>
Date: Tue, 23 Jun 2009 01:31:59 +0900 (JST)
Subject: [ruby-changes:12149] Ruby:r23824 (ruby_1_8): rdoc update.

akr	2009-06-23 01:31:49 +0900 (Tue, 23 Jun 2009)

  New Revision: 23824

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23824

  Log:
    rdoc update.

  Modified files:
    branches/ruby_1_8/io.c

Index: ruby_1_8/io.c
===================================================================
--- ruby_1_8/io.c	(revision 23823)
+++ ruby_1_8/io.c	(revision 23824)
@@ -912,11 +912,13 @@
  *     ios.fsync   => 0 or nil
  *  
  *  Immediately writes all buffered data in <em>ios</em> to disk.
- *  Returns <code>nil</code> if the underlying operating system does not
- *  support <em>fsync(2)</em>. Note that <code>fsync</code> differs from
+ *  Note that <code>fsync</code> differs from
  *  using <code>IO#sync=</code>. 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.
+ *
+ *  <code>NotImplementedError</code> is raised
+ *  if the underlying operating system does not support <em>fsync(2)</em>. 
  */
 
 static VALUE

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]