ruby-changes:36785
From: usa <ko1@a...>
Date: Tue, 16 Dec 2014 16:48:32 +0900 (JST)
Subject: [ruby-changes:36785] usa:r48866 (trunk): * NEWS: mention about IO#fsync (and IO#flush). adviced by kosaki.
usa 2014-12-16 16:48:22 +0900 (Tue, 16 Dec 2014) New Revision: 48866 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48866 Log: * NEWS: mention about IO#fsync (and IO#flush). adviced by kosaki. Modified files: trunk/NEWS Index: NEWS =================================================================== --- NEWS (revision 48865) +++ NEWS (revision 48866) @@ -107,9 +107,10 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L107 * IO * incompatible changes: - * When flushing file IO, you cannot assume that the metadata of the file - is updated immediately. On some platforms (especially Windows), it is - delayed until the filesystem load is decreased. + * When flushing file IO with IO#flush, you cannot assume that the metadata + of the file is updated immediately. On some platforms (especially + Windows), it is delayed until the filesystem load is decreased. + Use IO#fsync if you want to guarantee updaiting metadata. * Math * incompatible changes: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/