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.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagachika 2013-05-01 15:40:57 +00:00
parent 83222f7c65
commit 5362d2e2cb
3 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Thu May 2 00:30:00 2013 Tanaka Akira <akr@fsij.org>
* 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@fsij.org>
* dir.c (dir_set_pos): Fix a compilation error when seekdir() is not

View file

@ -669,6 +669,7 @@ ruby_init_stack(volatile VALUE *addr
#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;
}

View file

@ -1,6 +1,6 @@
#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