--- ray/src/common/malloc.c 1990/09/26 19:35:46 1.6 +++ ray/src/common/malloc.c 1990/10/03 16:20:38 1.8 @@ -13,7 +13,7 @@ static char SCCSid[] = "$SunId$ LBL"; * bmalloc() doesn't keep track of free lists -- it's usually * just a buffered call to sbrk(2). However, bmalloc will * call mscrounge() if sbrk fails. - * mscrounge() returns whatever memory it can find to satisfy the + * mscrounge() returns whatever free memory it can find to satisfy the * request along with the number of bytes (modified). * * Greg Ward Lawrence Berkeley Laboratory @@ -150,9 +150,6 @@ unsigned n; register M_HEAD *mp; register int bucket; register unsigned bsiz; - - if (n == 0) - return(NULL); /* find first bucket that fits */ for (bucket = FIRSTBUCKET, bsiz = 1<