ruby-changes:17401
From: naruse <ko1@a...>
Date: Mon, 4 Oct 2010 08:00:33 +0900 (JST)
Subject: [ruby-changes:17401] Ruby:r29406 (trunk): * cont.c (fiber_memsize): Return size.
naruse 2010-10-04 08:00:21 +0900 (Mon, 04 Oct 2010) New Revision: 29406 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29406 Log: * cont.c (fiber_memsize): Return size. Before this change, fiber_memsize always returns 0. Modified files: trunk/ChangeLog trunk/cont.c Index: ChangeLog =================================================================== --- ChangeLog (revision 29405) +++ ChangeLog (revision 29406) @@ -1,3 +1,8 @@ +Mon Oct 4 07:57:51 2010 NARUSE, Yui <naruse@r...> + + * cont.c (fiber_memsize): Return size. + Before this change, fiber_memsize always returns 0. + Mon Oct 4 07:16:55 2010 NARUSE, Yui <naruse@r...> * enc/unicode.c (onigenc_unicode_property_name_to_ctype): Index: cont.c =================================================================== --- cont.c (revision 29405) +++ cont.c (revision 29406) @@ -319,7 +319,7 @@ } size += cont_memsize(&fib->cont); } - return 0; + return size; } static void -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/