* io.c (rb_io_initialize): fixed a rdoc miss that textmode and

bimode flag explanation was reversed each other.  a patch from
  Heesob Park in [ruby-core:29166].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-04-01 02:36:33 +00:00
Родитель 44e08324c7
Коммит 171131061e
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -1,3 +1,9 @@
Thu Apr 1 11:36:04 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (rb_io_initialize): fixed a rdoc miss that textmode and
bimode flag explanation was reversed each other. a patch from
Heesob Park in [ruby-core:29166].
Thu Apr 1 09:54:27 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/ruby.h (RUBY_{DEFAULT,NEVER}_FREE): added.

4
io.c
Просмотреть файл

@ -6316,9 +6316,9 @@ rb_io_stdio_file(rb_io_t *fptr)
* :encoding ::
* specifies external and internal encodings as "extern:intern".
* :textmode ::
* If the value is truth value, same as "b" in argument <code>mode</code>.
* :binmode ::
* If the value is truth value, same as "t" in argument <code>mode</code>.
* :binmode ::
* If the value is truth value, same as "b" in argument <code>mode</code>.
* :autoclose ::
* If the value is +false+, the _fd_ will be kept open after this
* +IO+ instance gets finalized.