author | David Barr <david.barr@cordelta.com> | |
Mon, 9 Aug 2010 22:39:43 +0000 (17:39 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 15 Aug 2010 02:35:37 +0000 (19:35 -0700) | ||
commit | 3bbaec00a8ffc6ea7e71c3b707851fe663d93a45 | |
tree | 5af41401b9e6764754058d4305a0d212190828b9 | tree | snapshot |
parent | 1d73b52f5ba4184de6acf474f14668001304a10c | commit | diff |
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 <david.barr@cordelta.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <david.barr@cordelta.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitignore | diff | blob | history | |
Makefile | diff | blob | history | |
t/t0080-vcs-svn.sh | diff | blob | history | |
test-line-buffer.c | [new file with mode: 0644] | blob |
vcs-svn/line_buffer.c | [new file with mode: 0644] | blob |
vcs-svn/line_buffer.h | [new file with mode: 0644] | blob |
vcs-svn/line_buffer.txt | [new file with mode: 0644] | blob |