K 10 svn:author V 4 ache K 8 svn:date V 27 2005-09-18T17:50:58.000000Z K 7 svn:log V 195 Just by allocating size*2 bytes we can't be sure that new size will be enough, so change two if (size not enough) { reallocf(size*2); } into while (size not enough) { reallocf(size*2); } END