1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
matz 2011-09-12 20:38:17 +00:00
parent 53fd35c304
commit 1796817e46
2 changed files with 6 additions and 1 deletions

View file

@ -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

2
io.c
View file

@ -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));