Thread (35 messages) 35 messages, 3 authors, 2016-06-15

Re: [PATCH 6/9] Add stream helper library

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:49:00

Ramkumar Ramachandra wrote:
Jonathan Nieder wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help