mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 01:23:57 +02:00
merge revision(s) 40476: [Backport #8332]
* thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION. This fixes a compilation failure while cross-compiling for ARM. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4a90d9e8a5
commit
a2ac434a07
3 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Apr 26 23:48:58 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 ARM.
|
||||||
|
|
||||||
Fri Apr 26 23:32:09 2013 Kouhei Sutou <kou@cozmixng.org>
|
Fri Apr 26 23:32:09 2013 Kouhei Sutou <kou@cozmixng.org>
|
||||||
|
|
||||||
* lib/rss/atom.rb (RSS::Atom::Entry): Fix indent of document comment.
|
* lib/rss/atom.rb (RSS::Atom::Entry): Fix indent of document comment.
|
||||||
|
|
|
@ -687,6 +687,7 @@ ruby_init_stack(volatile VALUE *addr
|
||||||
/* it should be on co-routine (alternative stack). [Feature #2294] */
|
/* it should be on co-routine (alternative stack). [Feature #2294] */
|
||||||
{
|
{
|
||||||
void *start, *end;
|
void *start, *end;
|
||||||
|
STACK_GROW_DIR_DETECTION;
|
||||||
|
|
||||||
if (IS_STACK_DIR_UPPER()) {
|
if (IS_STACK_DIR_UPPER()) {
|
||||||
start = native_main_thread.stack_start;
|
start = native_main_thread.stack_start;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#define RUBY_VERSION "2.0.0"
|
#define RUBY_VERSION "2.0.0"
|
||||||
#define RUBY_RELEASE_DATE "2013-04-26"
|
#define RUBY_RELEASE_DATE "2013-04-26"
|
||||||
#define RUBY_PATCHLEVEL 171
|
#define RUBY_PATCHLEVEL 172
|
||||||
|
|
||||||
#define RUBY_RELEASE_YEAR 2013
|
#define RUBY_RELEASE_YEAR 2013
|
||||||
#define RUBY_RELEASE_MONTH 4
|
#define RUBY_RELEASE_MONTH 4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue