aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-12 20:38:17 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-12 20:38:17 +0000
commit1796817e46b96e70d0e2e1dd9884429c82982ebd (patch)
treea7817767e49bd70e4bd90e2567a0c4c811066c95
parent53fd35c30467468c72acd881d99a17d1fba6b1dd (diff)
downloadruby-1796817e46b96e70d0e2e1dd9884429c82982ebd.tar.gz
* io.c (Init_IO): update BINARY comment. it should not change the
encoding of the result to ASCII-8BIT. [ruby-talk:387719] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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));