Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
vcs-svn: handle filenames with dq correctly
[gitweb.git]
/
vcs-svn
/
line_buffer.c
diff --git
a/vcs-svn/line_buffer.c
b/vcs-svn/line_buffer.c
index aedf105b70586f2ef7567547426bb6622799b067..eb8a6a7f7b67fb56f28f42e39b92736f91b0af85 100644
(file)
--- a/
vcs-svn/line_buffer.c
+++ b/
vcs-svn/line_buffer.c
@@
-59,6
+59,11
@@
long buffer_tmpfile_prepare_to_read(struct line_buffer *buf)
return pos;
}
+int buffer_ferror(struct line_buffer *buf)
+{
+ return ferror(buf->infile);
+}
+
int buffer_read_char(struct line_buffer *buf)
{
return fgetc(buf->infile);