From: <ps...@us...> - 2008-01-08 19:40:20
|
Revision: 2165 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2165&view=rev Author: psychs Date: 2008-01-08 11:40:16 -0800 (Tue, 08 Jan 2008) Log Message: ----------- 2008-01-09 Satoshi Nakagawa <art...@gm...> * framework/src/objc/RBObject.m framework/src/objc/RBRuntime.m framework/src/objc/OverrideMixin.m framework/src/objc/ocdata_conv.m framework/src/objc/libffi.m framework/src/objc/mdl_osxobjc.m framework/src/objc/mdl_objwrapper.m framework/src/objc/cls_objcptr.m - Set volatile to some VALUE type local variables. If VALUE local variables erased by optimization, the VALUE is missing from the stack. It could cause GC sweeps the VALUE. See http://i.loveruby.net/ja/rhg/book/gc.html (in Japanese) - Changed func(RSTRING(rb_inspect(obj))->ptr to StringValuePtr(). Because it was a dangling pointer. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/objc/OverrideMixin.m trunk/src/framework/src/objc/RBObject.m trunk/src/framework/src/objc/RBRuntime.m trunk/src/framework/src/objc/cls_objcptr.m trunk/src/framework/src/objc/libffi.m trunk/src/framework/src/objc/mdl_objwrapper.m trunk/src/framework/src/objc/mdl_osxobjc.m trunk/src/framework/src/objc/ocdata_conv.m This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |