Skip to content

Commit

Permalink
* cont.c (fiber_memsize): Return size.
Browse files Browse the repository at this point in the history
  Before this change, fiber_memsize always returns 0.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Oct 3, 2010
1 parent e1d5d4e commit eaa4e02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Mon Oct 4 07:57:51 2010 NARUSE, Yui <[email protected]>

* cont.c (fiber_memsize): Return size.
Before this change, fiber_memsize always returns 0.

Mon Oct 4 07:16:55 2010 NARUSE, Yui <[email protected]>

* enc/unicode.c (onigenc_unicode_property_name_to_ctype):
Expand Down
2 changes: 1 addition & 1 deletion cont.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ fiber_memsize(const void *ptr)
}
size += cont_memsize(&fib->cont);
}
return 0;
return size;
}

static void
Expand Down

0 comments on commit eaa4e02

Please sign in to comment.