commit ruby19 for openSUSE:12.3
Hello community, here is the log from the commit of package ruby19 for openSUSE:12.3 checked in at 2013-02-26 15:11:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.3/ruby19 (Old) and /work/SRC/openSUSE:12.3/.ruby19.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ruby19", Maintainer is "JMassaguerPla@suse.com" Changes: -------- --- /work/SRC/openSUSE:12.3/ruby19/ruby19.changes 2013-02-09 10:15:57.000000000 +0100 +++ /work/SRC/openSUSE:12.3/.ruby19.new/ruby19.changes 2013-02-26 15:11:22.000000000 +0100 @@ -1,0 +2,8 @@ +Fri Feb 8 12:21:05 UTC 2013 - kkaempf@suse.com + +- replace bind_stack.patch with upstream patch (bnc#796757) + (thread_pthread.c-ruby_init_stack-ignore-STACK_END_ADDRESS.patch) + * thread_pthread.c (ruby_init_stack): ignore `STACK_END_ADDRESS' + if Ruby interpreter is running on co-routine. + +------------------------------------------------------------------- Old: ---- bind_stack.patch New: ---- thread_pthread.c-ruby_init_stack-ignore-STACK_END_ADDRESS.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ruby19.spec ++++++ --- /var/tmp/diff_new_pack.A59f6p/_old 2013-02-26 15:11:23.000000000 +0100 +++ /var/tmp/diff_new_pack.A59f6p/_new 2013-02-26 15:11:23.000000000 +0100 @@ -74,7 +74,8 @@ Patch1: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch Patch2: ruby19-export_init_prelude.patch Patch3: ruby-sort-rdoc-output.patch -Patch4: bind_stack.patch +# backport of http://bugs.ruby-lang.org/issues/show/2294 to 1.9.3 +Patch4: thread_pthread.c-ruby_init_stack-ignore-STACK_END_ADDRESS.patch # Summary: An Interpreted Object-Oriented Scripting Language License: BSD-2-Clause or Ruby ++++++ thread_pthread.c-ruby_init_stack-ignore-STACK_END_ADDRESS.patch ++++++ diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-ruby-1.9.3-p362/thread_pthread.c ./thread_pthread.c --- ../orig-ruby-1.9.3-p362/thread_pthread.c 2012-09-20 16:34:12.000000000 +0200 +++ ./thread_pthread.c 2013-02-08 13:19:46.609491143 +0100 @@ -593,6 +593,27 @@ #endif native_main_thread.stack_maxsize = size - space; } + + /* If addr is out of range of main-thread stack range estimation, */ + /* it should be on co-routine (alternative stack). [Feature #2294] */ + { + void *start, *end; + + if (STACK_DIR_UPPER(1,0)) { + start = native_main_thread.stack_start; + end = (char *)native_main_thread.stack_start + native_main_thread.stack_maxsize; + } + else { + start = (char *)native_main_thread.stack_start - native_main_thread.stack_maxsize; + end = native_main_thread.stack_start; + } + + if ((void *)addr < start || (void *)addr > end) { + /* out of range */ + native_main_thread.stack_start = (VALUE *)addr; + native_main_thread.stack_maxsize = 0; /* unknown */ + } + } } #define CHECK_ERR(expr) \ -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de