Collect the line_buffer state in a newly public line_buffer struct. Callers can use multiple line_buffers to manage input from multiple files at a time. svn-fe's delta applier will use this to stream a delta from svnrdump and the preimage it applies to from fast-import at the same time. The tests don't take advantage of the new features, but I think that's okay. It is easier to find lingering examples of nonreentrant code by searching for "static" in line_buffer.c. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> |
||
|---|---|---|
| .. | ||
| LICENSE | ||
| fast_export.c | ||
| fast_export.h | ||
| line_buffer.c | ||
| line_buffer.h | ||
| line_buffer.txt | ||
| obj_pool.h | ||
| repo_tree.c | ||
| repo_tree.h | ||
| string_pool.c | ||
| string_pool.h | ||
| string_pool.txt | ||
| svndump.c | ||
| svndump.h | ||
| trp.h | ||
| trp.txt | ||