cooperative-computing-lab/cctools — pull request #218 by batrick (2013-10-01 05:20:36+00:00)
Title: Improve buffer library to actually use a buffer.

Before the buffer library just used realloc repeatedly when a string was
appended. This patch makes the buffer library actually maintain a buffer.
Additionally, developers can pass a buffer (on the stack) to use, limit the
maximum size of the buffer, and have the buffer library call fatal on error.