Project
General
Profile
Sign in
Register
Home
Projects
Help
Ruby
All Projects
Ruby
Overview
Activity
Roadmap
Issues
Repository
«
Previous
|
Next
»
Revision 8923ba1e
Added by
kosaki (Motohiro KOSAKI)
over 14 years
ago
ID
8923ba1ec9f7b8ebe6de729d5a54f2e2ccb202ff
Parent
2ebd80d1
Child
e33efe60
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
Loading...
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