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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]