diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-03-05 17:07:49 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-06 12:45:56 -0800 |
commit | d105823ad52ce50635876f2f43453270fa90ed9f (patch) | |
tree | 38e226e614d55765be0779303a87b0109ee7735a | |
parent | 2c4bfbe1cfb8b7eb39d3a12647ef45563ebe6102 (diff) | |
download | git-mh/fdopen-with-retry.tar.gz |
buffer_fdinit(): use fdopen_with_retry()mh/fdopen-with-retrymg/fdopen-with-retry
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | vcs-svn/line_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcs-svn/line_buffer.c b/vcs-svn/line_buffer.c index 57cc1cec03..10791cf5f4 100644 --- a/vcs-svn/line_buffer.c +++ b/vcs-svn/line_buffer.c @@ -19,7 +19,7 @@ int buffer_init(struct line_buffer *buf, const char *filename) int buffer_fdinit(struct line_buffer *buf, int fd) { - buf->infile = fdopen(fd, "r"); + buf->infile = fdopen_with_retry(fd, "r"); if (!buf->infile) return -1; return 0; |