ruby-changes:28494
From: nagachika <ko1@a...>
Date: Thu, 2 May 2013 00:41:11 +0900 (JST)
Subject: [ruby-changes:28494] nagachika:r40546 (ruby_2_0_0): merge revision(s) 40498:
nagachika 2013-05-02 00:40:57 +0900 (Thu, 02 May 2013) New Revision: 40546 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40546 Log: merge revision(s) 40498: * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION. This fixes a compilation failure while cross-compiling for Tensilica Xtensa Processor. Modified directories: branches/ruby_2_0_0/ Modified files: branches/ruby_2_0_0/ChangeLog branches/ruby_2_0_0/thread_pthread.c branches/ruby_2_0_0/version.h Index: ruby_2_0_0/ChangeLog =================================================================== --- ruby_2_0_0/ChangeLog (revision 40545) +++ ruby_2_0_0/ChangeLog (revision 40546) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ChangeLog#L1 +Thu May 2 00:30:00 2013 Tanaka Akira <akr@f...> + + * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION. + This fixes a compilation failure while cross-compiling for Tensilica + Xtensa Processor. + Thu May 2 00:19:46 2013 Tanaka Akira <akr@f...> * dir.c (dir_set_pos): Fix a compilation error when seekdir() is not Index: ruby_2_0_0/thread_pthread.c =================================================================== --- ruby_2_0_0/thread_pthread.c (revision 40545) +++ ruby_2_0_0/thread_pthread.c (revision 40546) @@ -669,6 +669,7 @@ ruby_init_stack(volatile VALUE *addr https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/thread_pthread.c#L669 #elif defined(HAVE_GETRLIMIT) int pagesize = getpagesize(); struct rlimit rlim; + STACK_GROW_DIR_DETECTION; if (getrlimit(RLIMIT_STACK, &rlim) == 0) { size = (size_t)rlim.rlim_cur; } Index: ruby_2_0_0/version.h =================================================================== --- ruby_2_0_0/version.h (revision 40545) +++ ruby_2_0_0/version.h (revision 40546) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/version.h#L1 #define RUBY_VERSION "2.0.0" #define RUBY_RELEASE_DATE "2013-05-02" -#define RUBY_PATCHLEVEL 179 +#define RUBY_PATCHLEVEL 180 #define RUBY_RELEASE_YEAR 2013 #define RUBY_RELEASE_MONTH 5 Property changes on: ruby_2_0_0 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r40498 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/