ruby-changes:15518
From: usa <ko1@a...>
Date: Tue, 20 Apr 2010 22:53:18 +0900 (JST)
Subject: [ruby-changes:15518] Ruby:r27420 (trunk): * io.c: fixed the wrong description of rdoc.
usa 2010-04-20 22:53:08 +0900 (Tue, 20 Apr 2010) New Revision: 27420 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27420 Log: * io.c: fixed the wrong description of rdoc. Modified files: trunk/io.c Index: io.c =================================================================== --- io.c (revision 27419) +++ io.c (revision 27420) @@ -6318,9 +6318,13 @@ * <code>intern</code> is the internal encoding. * <code>fmode</code> must be combination of the directives. See * the description of class +IO+ for a description of the directives. - * Changing reading/writing mode from the original io object is not - * supported on some platforms, e.g. Windows. * + * When the mode of original IO is read only, the mode cannot be changed to + * be writable. Similarly, the mode cannot be changed from write only to + * readable. + * If such a wrong change is directed, timing where the error actually occurs + * is different according to the platform. + * * ==== Options * <code>opt</code> can have the following keys * :mode :: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/