From ffff30fc87f019bec2e2cd37312508e95918d9a8 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 24 Aug 2008 09:13:55 +0000 Subject: * include/ruby/io.h (rb_io_enc_t): add opts field. (FMODE_INVALID_MASK): removed. (FMODE_INVALID_IGNORE): ditto. (FMODE_INVALID_REPLACE): ditto. (FMODE_UNDEF_MASK): ditto. (FMODE_UNDEF_IGNORE): ditto. (FMODE_UNDEF_REPLACE): ditto. (MakeOpenFile): initialize the opts field. * io.c (make_writeconv): use the opts field. (io_fwrite): ditto. (make_readconv): ditto. (argf_ecopts): new macro. (rb_io_extract_modeenc): fill the opts field. (argf_next_argv): ditto. (rb_file_open_generic): initialize the opts field. (rb_file_open_internal): ditto. (io_encoding_set): ditto. (argf_set_encoding): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index f46958e71..de7356fab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,25 @@ +Sun Aug 24 18:10:08 2008 Tanaka Akira + + * include/ruby/io.h (rb_io_enc_t): add opts field. + (FMODE_INVALID_MASK): removed. + (FMODE_INVALID_IGNORE): ditto. + (FMODE_INVALID_REPLACE): ditto. + (FMODE_UNDEF_MASK): ditto. + (FMODE_UNDEF_IGNORE): ditto. + (FMODE_UNDEF_REPLACE): ditto. + (MakeOpenFile): initialize the opts field. + + * io.c (make_writeconv): use the opts field. + (io_fwrite): ditto. + (make_readconv): ditto. + (argf_ecopts): new macro. + (rb_io_extract_modeenc): fill the opts field. + (argf_next_argv): ditto. + (rb_file_open_generic): initialize the opts field. + (rb_file_open_internal): ditto. + (io_encoding_set): ditto. + (argf_set_encoding): ditto. + Sun Aug 24 18:02:14 2008 Tanaka Akira * io.c (struct argf): use struct rb_io_enc_t. -- cgit