* 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
Родитель 53fd35c304
Коммит 1796817e46
2 изменённых файлов: 6 добавлений и 1 удалений

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

@ -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> Mon Sep 12 19:55:00 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (rb_thread_select): fix to ignore an argument * thread.c (rb_thread_select): fix to ignore an argument

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

@ -10792,7 +10792,7 @@ Init_IO(void)
#ifndef O_BINARY #ifndef O_BINARY
# define O_BINARY 0 # define O_BINARY 0
#endif #endif
/* disable line code conversion and make ASCII-8BIT */ /* disable line code conversion */
rb_file_const("BINARY", INT2FIX(O_BINARY)); rb_file_const("BINARY", INT2FIX(O_BINARY));
#ifdef O_SYNC #ifdef O_SYNC
rb_file_const("SYNC", INT2FIX(O_SYNC)); rb_file_const("SYNC", INT2FIX(O_SYNC));