From: Jonathan Nieder Date: Thu, 24 Jun 2010 21:29:04 GMT Subject: Re: [PATCH 6/9] Add stream helper library Message-ID: <20100624212904.GB2458@burratino> In-Reply-To: Ramkumar Ramachandra wrote: > Jonathan Nieder wrote: >> This library provides thread-unsafe fgets()- and fread()-like >> functions where the caller does not have to supply a buffer.  It >> maintains a couple of static buffers and provides an API to use >> them. > > Few (no?) changes since last time. I simplified it a bit by getting rid of pushback. static uint32_t line_buffer_len = 0; static uint32_t line_len = 0; Sorry, I should have mentioned so. Jonathan