diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-15 14:35:46 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-15 14:35:46 +0000 |
commit | 8923ba1ec9f7b8ebe6de729d5a54f2e2ccb202ff (patch) | |
tree | c30999087abcf6adf8034cff80025cdc666a4691 /ChangeLog | |
parent | 2ebd80d1157fcab65d2d854a8a094aec9a849968 (diff) | |
download | ruby-8923ba1ec9f7b8ebe6de729d5a54f2e2ccb202ff.tar.gz |
* gc.c: fix a regression by r31690 on AIX because AIX malloc
return NULL if it's passed 0. But some caller don't expect it.
patch by Yutaka Kanemoto.
(vm_malloc_prepare): return calculated size.
(vm_xmalloc): use above result.
(vm_xcalloc): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +Wed Jun 15 23:30:45 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + * gc.c: fix a regression by r31690 on AIX because AIX malloc + return NULL if it's passed 0. But some caller don't expect it. + patch by Yutaka Kanemoto. + (vm_malloc_prepare): return calculated size. + (vm_xmalloc): use above result. + (vm_xcalloc): ditto. + Wed Jun 15 23:11:35 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> * thread.c: remove BLOCKING_REGION_CORE() macro. It's no longer used |