diff --git a/ChangeLog b/ChangeLog index 94bcb9340c..905ca83b2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,22 +1,10 @@ -Sat Oct 8 19:45:16 2005 Nobuyoshi Nakada +Sat Oct 8 19:49:42 2005 Nobuyoshi Nakada - * lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matched - substring directly. - - * ext/nkf/lib/kconv.rb (Kconv.conv): get rid of nil.to_a. - - * test/ruby/test_assignment.rb, test/ruby/test_iterator.rb: followed - change of sample/test.rb. - - * test/net/http/test_http.rb: removed superfluous splatting stars. - -Sat Oct 8 19:32:56 2005 Nobuyoshi Nakada + * eval.c (Init_Binding): add Binding#dup method. [yarv-dev:666] * io.c (rb_io_init_copy): clear PREP flag for copied IO. fixed: [ruby-dev:27371] -Sat Oct 8 19:15:02 2005 Nobuyoshi Nakada - * parse.y (rb_parser_malloc, rb_parser_free): manage parser stack on heap. [ruby-list:41199] @@ -26,6 +14,16 @@ Sat Oct 8 19:15:02 2005 Nobuyoshi Nakada * ext/iconv/charset_alias.rb: parse config.charset_alias file directly. + * ext/nkf/lib/kconv.rb (Kconv.conv): get rid of nil.to_a. + + * lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matched + substring directly. + + * test/ruby/test_assignment.rb, test/ruby/test_iterator.rb: followed + change of sample/test.rb. + + * test/net/http/test_http.rb: removed superfluous splatting stars. + Thu Oct 6 20:10:38 2005 Minero Aoki * ext/strscan/strscan.c (strscan_free): remove useless code. diff --git a/eval.c b/eval.c index 54ca11cfa6..47d968830b 100644 --- a/eval.c +++ b/eval.c @@ -9392,6 +9392,7 @@ Init_Binding(void) rb_undef_alloc_func(rb_cBinding); rb_undef_method(CLASS_OF(rb_cBinding), "new"); rb_define_method(rb_cBinding, "clone", proc_clone, 0); + rb_define_method(rb_cBinding, "dup", proc_dup, 0); rb_define_method(rb_cBinding, "eval", bind_eval, -1); rb_define_global_function("binding", rb_f_binding, 0); }