ruby-changes:8563
From: nobu <ko1@a...>
Date: Mon, 3 Nov 2008 15:52:19 +0900 (JST)
Subject: [ruby-changes:8563] Ruby:r20097 (ruby_1_8): * marshal.c (marshal_load): arg.data is no longer a VALUE but a
nobu 2008-11-03 15:52:06 +0900 (Mon, 03 Nov 2008) New Revision: 20097 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20097 Log: * marshal.c (marshal_load): arg.data is no longer a VALUE but a st_table, and freed in load_ensure. pointed out by pegacorn. [ruby-dev:37008] Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/marshal.c branches/ruby_1_8/version.h Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 20096) +++ ruby_1_8/ChangeLog (revision 20097) @@ -1,3 +1,9 @@ +Mon Nov 3 15:52:04 2008 Nobuyoshi Nakada <nobu@r...> + + * marshal.c (marshal_load): arg.data is no longer a VALUE but a + st_table, and freed in load_ensure. pointed out by pegacorn. + [ruby-dev:37008] + Fri Oct 31 12:51:25 2008 Yukihiro Matsumoto <matz@r...> * dir.c (dir_globs): need taint check. reported by steve Index: ruby_1_8/version.h =================================================================== --- ruby_1_8/version.h (revision 20096) +++ ruby_1_8/version.h (revision 20097) @@ -1,15 +1,15 @@ #define RUBY_VERSION "1.8.7" -#define RUBY_RELEASE_DATE "2008-10-31" +#define RUBY_RELEASE_DATE "2008-11-03" #define RUBY_VERSION_CODE 187 -#define RUBY_RELEASE_CODE 20081031 +#define RUBY_RELEASE_CODE 20081103 #define RUBY_PATCHLEVEL 5000 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 #define RUBY_VERSION_TEENY 7 #define RUBY_RELEASE_YEAR 2008 -#define RUBY_RELEASE_MONTH 10 -#define RUBY_RELEASE_DAY 31 +#define RUBY_RELEASE_MONTH 11 +#define RUBY_RELEASE_DAY 3 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; Index: ruby_1_8/marshal.c =================================================================== --- ruby_1_8/marshal.c (revision 20096) +++ ruby_1_8/marshal.c (revision 20097) @@ -1493,7 +1493,6 @@ if (!NIL_P(proc)) arg.proc = proc; v = rb_ensure(load, (VALUE)&arg, load_ensure, (VALUE)&arg); - RBASIC(arg.data)->klass = rb_cHash; return v; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/