diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-08 15:34:48 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-08 15:34:48 +0000 |
| commit | 8891aad06db2878fbbd2e838ac1a748fdf8ecc2a (patch) | |
| tree | ad6cc095b741f99ef14766bf87f3119115026ee1 | |
| parent | af898174eb0316c0ab650ce9dc65db59b2f958d3 (diff) | |
merges r24408 and r24409 from trunk into ruby_1_9_1.
--
* ruby.c (rb_stdio_set_default_encoding): declared.
--
* io.c (rb_stdio_set_default_encoding): prototyped.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | io.c | 2 | ||||
| -rw-r--r-- | ruby.c | 2 | ||||
| -rw-r--r-- | version.h | 2 |
4 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Wed Aug 5 19:11:01 2009 NARUSE, Yui <naruse@ruby-lang.org> + + * ruby.c (rb_stdio_set_default_encoding): declared. + Wed Aug 5 18:46:01 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * debug.c (ruby_dummy_gdb_enums): made public. [ruby-dev:39001] @@ -7949,7 +7949,7 @@ rb_io_set_encoding(int argc, VALUE *argv, VALUE io) } void -rb_stdio_set_default_encoding() +rb_stdio_set_default_encoding(void) { extern VALUE rb_stdin, rb_stdout, rb_stderr; VALUE val = Qnil; @@ -1188,6 +1188,8 @@ rb_f_chomp(argc, argv) return str; } +void rb_stdio_set_default_encoding(void); + static VALUE process_options(VALUE arg) { @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.1" -#define RUBY_PATCHLEVEL 275 +#define RUBY_PATCHLEVEL 276 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 |
