aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--io.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a65e16f698..40d51a3c33 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Sep 13 05:37:15 2011 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * io.c (Init_IO): update BINARY comment. it should not change the
+ encoding of the result to ASCII-8BIT. [ruby-talk:387719]
+
Mon Sep 12 19:55:00 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (rb_thread_select): fix to ignore an argument
diff --git a/io.c b/io.c
index 0184b770ba..b3bd0ce52b 100644
--- a/io.c
+++ b/io.c
@@ -10792,7 +10792,7 @@ Init_IO(void)
#ifndef O_BINARY
# define O_BINARY 0
#endif
- /* disable line code conversion and make ASCII-8BIT */
+ /* disable line code conversion */
rb_file_const("BINARY", INT2FIX(O_BINARY));
#ifdef O_SYNC
rb_file_const("SYNC", INT2FIX(O_SYNC));