Add stream helper library
authorDavid Barr <redacted>
Mon, 9 Aug 2010 22:39:43 +0000 (17:39 -0500)
committerJunio C Hamano <redacted>
Sun, 15 Aug 2010 02:35:37 +0000 (19:35 -0700)
commit3bbaec00a8ffc6ea7e71c3b707851fe663d93a45
tree5af41401b9e6764754058d4305a0d212190828b9
parent1d73b52f5ba4184de6acf474f14668001304a10c
Add stream helper library

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.

[rr: allow input from files other than stdin]
[jn: with tests, documentation, and error handling improvements]

Signed-off-by: David Barr <redacted>
Signed-off-by: Ramkumar Ramachandra <redacted>
Signed-off-by: Jonathan Nieder <redacted>
Signed-off-by: Junio C Hamano <redacted>
.gitignore
Makefile
t/t0080-vcs-svn.sh
test-line-buffer.c [new file with mode: 0644]
vcs-svn/line_buffer.c [new file with mode: 0644]
vcs-svn/line_buffer.h [new file with mode: 0644]
vcs-svn/line_buffer.txt [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT