Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog Jan 20,21

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2203 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1997-03-03 19:51:04 +00:00
parent c07f920c70
commit c5b0cb101c
8 changed files with 113 additions and 38 deletions

View file

@ -456,7 +456,6 @@ segindex (size_t size)
{
assert(size%MINCHUNK == 0);
if (size < CLTOSZ(8))
return size/MINCHUNK;
else if (size < CLTOSZ(16))
@ -786,7 +785,7 @@ nmalloc (NSZone *zone, size_t size)
if (zptr->blocks->size-zptr->blocks->top < chunksize)
/* Get new block. */
{
size_t blocksize = roundupto(size+NF_HEAD, zone->gran);
size_t blocksize = roundupto(chunksize+NF_HEAD, zone->gran);
/* Any clean way to make gcc shut up here? */
NS_DURING