ruby-changes:6498
From: ko1 <ko1@a...>
Date: Fri, 11 Jul 2008 00:58:21 +0900 (JST)
Subject: [ruby-changes:6498] Ruby:r18014 (trunk): * thread.c (thread_create_core): fix GC problem.
ko1 2008-07-11 00:58:07 +0900 (Fri, 11 Jul 2008) New Revision: 18014 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18014 Log: * thread.c (thread_create_core): fix GC problem. [ruby-core:17669] Modified files: trunk/ChangeLog trunk/thread.c trunk/version.h Index: ChangeLog =================================================================== --- ChangeLog (revision 18013) +++ ChangeLog (revision 18014) @@ -1,3 +1,8 @@ +Fri Jul 11 00:56:46 2008 Koichi Sasada <ko1@a...> + + * thread.c (thread_create_core): fix GC problem. + [ruby-core:17669] + Thu Jul 10 22:06:00 2008 Nobuyoshi Nakada <nobu@r...> * lib/pstore.rb (PStore#transaction): return the result from the Index: thread.c =================================================================== --- thread.c (revision 18013) +++ thread.c (revision 18014) @@ -440,9 +440,9 @@ GetThreadPtr(thval, th); /* setup thread environment */ - th->first_args = args; + th->first_func = fn; th->first_proc = fn ? Qfalse : rb_block_proc(); - th->first_func = fn; + th->first_args = args; /* GC: shouldn't put before above line */ th->priority = GET_THREAD()->priority; th->thgroup = GET_THREAD()->thgroup; Index: version.h =================================================================== --- version.h (revision 18013) +++ version.h (revision 18014) @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2008-07-10" +#define RUBY_RELEASE_DATE "2008-07-11" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20080710 +#define RUBY_RELEASE_CODE 20080711 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2008 #define RUBY_RELEASE_MONTH 7 -#define RUBY_RELEASE_DAY 10 +#define RUBY_RELEASE_DAY 11 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/