diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-22 07:50:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-22 07:50:20 +0000 |
commit | 11650a6ab90f2c6de97840bab4837802c91f7e5e (patch) | |
tree | 96114dade100c315d19d296f0a718760b0357677 /ChangeLog | |
parent | a815b56d84e1876c5f6e5fc9f4b3bc46a1a3cfb3 (diff) | |
download | ruby-11650a6ab90f2c6de97840bab4837802c91f7e5e.tar.gz |
gc.c: use size_t and no header if next_index == 0
* gc.c (gc_profile_dump_on): use size_t to get rid of overflow and
show the header when next_index > 0, instead of next_index != 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Wed May 22 16:50:18 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * gc.c (gc_profile_dump_on): use size_t to get rid of overflow and + show the header when next_index > 0, instead of next_index != 1. + Wed May 22 15:18:59 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * win32/win32.c (setup_overlapped): check the error code in addition |