Actions
Bug #3063
closeddocument error in IO.new rdoc
Description
=begin
In IO.new rdoc, textmode and bimode flag explanation is reversed each other.
"b" should be "t" and "t" should be "b".
Here is a patch for SVN.
--- io.c 2010-03-31 22:56:49.000000000 +0900
+++ io.c.new 2010-03-31 23:24:40.000000000 +0900
@@ -6316,9 +6316,9 @@
- :encoding ::
- specifies external and internal encodings as "extern:intern".
- :textmode ::
-
- If the value is truth value, same as "b" in argument
mode
.
- If the value is truth value, same as "b" in argument
-
- :binmode ::
- If the value is truth value, same as "t" in argument
mode
.
-
- :binmode ::
-
- If the value is truth value, same as "b" in argument
mode
. - :autoclose ::
- If the value is +false+, the fd will be kept open after this
- +IO+ instance gets finalized.
=end
- If the value is truth value, same as "b" in argument
Updated by nobu (Nobuyoshi Nakada) over 14 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r27136.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Actions
Like0
Like0