ruby-changes:5825
From: shyouhei <ko1@a...>
Date: Sun, 15 Jun 2008 23:21:39 +0900 (JST)
Subject: [ruby-changes:5825] Ruby:r17331 (ruby_1_8_6): merge revision(s) 16596:
shyouhei 2008-06-15 23:21:26 +0900 (Sun, 15 Jun 2008) New Revision: 17331 Modified files: branches/ruby_1_8_6/ChangeLog branches/ruby_1_8_6/marshal.c branches/ruby_1_8_6/version.h Log: merge revision(s) 16596: * marshal.c (r_object0, Init_marshal): Fix the garbled s_call definition; fixes [ruby-dev:34843]. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/ChangeLog?r1=17331&r2=17330&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/version.h?r1=17331&r2=17330&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/marshal.c?r1=17331&r2=17330&diff_format=u Index: ruby_1_8_6/ChangeLog =================================================================== --- ruby_1_8_6/ChangeLog (revision 17330) +++ ruby_1_8_6/ChangeLog (revision 17331) @@ -1,3 +1,8 @@ +Sun Jun 15 23:21:22 2008 Akinori MUSHA <knu@i...> + + * marshal.c (r_object0, Init_marshal): Fix the garbled s_call + definition; fixes [ruby-dev:34843]. + Sun Jun 15 23:19:53 2008 Yukihiro Matsumoto <matz@r...> * object.c (rb_cstr_to_dbl): should clear errno before calling Index: ruby_1_8_6/version.h =================================================================== --- ruby_1_8_6/version.h (revision 17330) +++ ruby_1_8_6/version.h (revision 17331) @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2008-06-15" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20080615 -#define RUBY_PATCHLEVEL 216 +#define RUBY_PATCHLEVEL 217 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 Index: ruby_1_8_6/marshal.c =================================================================== --- ruby_1_8_6/marshal.c (revision 17330) +++ ruby_1_8_6/marshal.c (revision 17331) @@ -81,7 +81,7 @@ #define TYPE_LINK '@' static ID s_dump, s_load, s_mdump, s_mload; -static ID s_dump_data, s_load_data, s_alloc; +static ID s_dump_data, s_load_data, s_alloc, s_call; static ID s_getc, s_read, s_write, s_binmode; static void @@ -1367,7 +1367,6 @@ break; } if (proc) { - ID s_call = rb_funcall(proc, s_call, 1, v); reentrant_check(arg->data, s_call); } @@ -1505,6 +1504,7 @@ s_dump_data = rb_intern("_dump_data"); s_load_data = rb_intern("_load_data"); s_alloc = rb_intern("_alloc"); + s_call = rb_intern("call"); s_getc = rb_intern("getc"); s_read = rb_intern("read"); s_write = rb_intern("write"); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/