[yast-commit] r64996 - in /trunk/ruby-bindings: VERSION.cmake package/yast2-ruby-bindings.changes src/ruby/YRuby.cc
Author: kkaempf Date: Tue Jul 26 09:59:13 2011 New Revision: 64996 URL: http://svn.opensuse.org/viewcvs/yast?rev=64996&view=rev Log: Re-init Ruby stack when calling a Ruby function Modified: trunk/ruby-bindings/VERSION.cmake trunk/ruby-bindings/package/yast2-ruby-bindings.changes trunk/ruby-bindings/src/ruby/YRuby.cc Modified: trunk/ruby-bindings/VERSION.cmake URL: http://svn.opensuse.org/viewcvs/yast/trunk/ruby-bindings/VERSION.cmake?rev=64996&r1=64995&r2=64996&view=diff ============================================================================== --- trunk/ruby-bindings/VERSION.cmake (original) +++ trunk/ruby-bindings/VERSION.cmake Tue Jul 26 09:59:13 2011 @@ -1,3 +1,3 @@ SET(VERSION_MAJOR "0") SET(VERSION_MINOR "3") -SET(VERSION_PATCH "6") +SET(VERSION_PATCH "7") Modified: trunk/ruby-bindings/package/yast2-ruby-bindings.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/ruby-bindings/package/yast2-ruby-bindings.changes?rev=64996&r1=64995&r2=64996&view=diff ============================================================================== --- trunk/ruby-bindings/package/yast2-ruby-bindings.changes (original) +++ trunk/ruby-bindings/package/yast2-ruby-bindings.changes Tue Jul 26 09:59:13 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Jul 26 07:58:02 UTC 2011 - kkaempf@novell.com + +- Re-init the Ruby stack when calling a Ruby function. bnc#708059 +- 0.3.7 + +------------------------------------------------------------------- Mon Jul 25 13:28:56 UTC 2011 - kkaempf@novell.com - wrap rb_funcall in rb_protect to prevent segfaults if the Modified: trunk/ruby-bindings/src/ruby/YRuby.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ruby-bindings/src/ruby/YRuby.cc?rev=64996&r1=64995&r2=64996&view=diff ============================================================================== --- trunk/ruby-bindings/src/ruby/YRuby.cc (original) +++ trunk/ruby-bindings/src/ruby/YRuby.cc Tue Jul 26 09:59:13 2011 @@ -176,6 +176,7 @@ YRuby::callInner (string module_name, string function, bool method, YCPList argList, constTypePtr wanted_result_type) { + RUBY_INIT_STACK // bnc#708059 VALUE module = y2ruby_nested_const_get(module_name); if (module == Qnil) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kkaempf@svn2.opensuse.org