Hello community, here is the log from the commit of package ruby19 for openSUSE:Factory checked in at 2013-03-22 12:07:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ruby19 (Old) and /work/SRC/openSUSE:Factory/.ruby19.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ruby19", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/ruby19/ruby19.changes 2013-03-10 08:39:15.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ruby19.new/ruby19.changes 2013-03-22 12:07:15.000000000 +0100 @@ -16,0 +17,7 @@ +------------------------------------------------------------------- +Fri Feb 8 12:21:05 UTC 2013 - [email protected] + +- 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.KnJVth/_old 2013-03-22 12:07:17.000000000 +0100 +++ /var/tmp/diff_new_pack.KnJVth/_new 2013-03-22 12:07:17.000000000 +0100 @@ -16,7 +16,6 @@ # - Name: ruby19 Version: 1.9.3.p392 Release: 0 @@ -75,7 +74,7 @@ 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 +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: [email protected] For additional commands, e-mail: [email protected]
