git: libc - nmalloc: Continue in a do/while(0) loop exits the lo

看板DFBSD_commit作者時間15年前 (2010/09/21 13:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 7b033ca7afcd5ded9c4102c353b86dfbe297a043 Author: Venkatesh Srinivas <me@endeavour.zapto.org> Date: Mon Sep 20 21:59:48 2010 -0700 libc - nmalloc: Continue in a do/while(0) loop exits the loop, making the mtmagazine routines not use the previous magazine. Also handle null return from _vmem_alloc in burst allocation path. Found-by: dillon Summary of changes: lib/libc/stdlib/nmalloc.c | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7b033ca7afcd5ded9c4102c353b86dfbe297a043 -- DragonFly BSD source repository
文章代碼(AID): #1Cc4DO56 (DFBSD_commit)