From fac42e6c766a32734b055d0bfccb09ded14783d9 Mon Sep 17 00:00:00 2001 From: naruse Date: Fri, 22 Apr 2016 11:42:31 +0000 Subject: * include/ruby/ruby.h (rb_mul_size_overflow): added to handle mul overflow efficiently. * include/ruby/ruby.h (rb_alloc_tmp_buffer2): use rb_mul_size_overflow and avoid division where it can define DSIZE_T. * gc.c (xmalloc2_size): moved from ruby.h and use rb_mul_size_overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 8e7b80c001..3b96a9b842 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +Fri Apr 22 20:18:40 2016 NARUSE, Yui + + * include/ruby/ruby.h (rb_mul_size_overflow): added to handle + mul overflow efficiently. + + * include/ruby/ruby.h (rb_alloc_tmp_buffer2): use rb_mul_size_overflow + and avoid division where it can define DSIZE_T. + + * gc.c (xmalloc2_size): moved from ruby.h and use rb_mul_size_overflow. + Fri Apr 22 20:34:04 2016 Nobuyoshi Nakada * time.c (time_asctime): [DOC] add ctime example, not only -- cgit v1.2.3