Tweak to prevent stack overflow on windows, without significant loss of

performance ... use stack for smallish temporary storage, but heap for
larger storage requirements.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17860 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2003-10-14 09:00:42 +00:00
parent 7e1ee0cfa4
commit 2ed87acf65
4 changed files with 57 additions and 23 deletions

View file

@ -589,7 +589,7 @@ static Class GSInlineArrayClass;
_contents_array[pos-1] = _contents_array[pos];
}
_count--;
_contents_array[_count] = 0;
_contents_array[_count] = 0;
RELEASE(obj);
}
}