Grow message by just the needed amount
authorAlexandre Oliva <lxoliva@fsfla.org>
Thu, 6 Mar 2014 16:17:12 +0000 (13:17 -0300)
committerThadeu Lima de Souza Cascardo <cascardo@cascardo.info>
Fri, 7 Mar 2014 22:54:25 +0000 (19:54 -0300)
commit9b15de84f1628712b63134c70392a770fa021068
treefb41d541e85b1705544ea1fd40637878f91ea3bc
parentc76fb86a7dbccebeecde90597082941221c1a098
Grow message by just the needed amount

Do not allocate more space than required for the message to grow.
We used to nearly double the amount of space every time, which is
nice to avoid quadratic complexity, but files are small enough
that it probably doesn't matter much, and it just makes things
confusing.
decfile.c