Fix the breakage caused by API change.
* subversion/libsvn_subr/stream.c
(stream_readline_chunky): use skip() instead of move_mark()
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/integrate-readline-speedup@1072555 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/subversion/libsvn_subr/stream.c b/subversion/libsvn_subr/stream.c
index b1b4044..e5b9fbd 100644
--- a/subversion/libsvn_subr/stream.c
+++ b/subversion/libsvn_subr/stream.c
@@ -369,7 +369,7 @@
svn_stream_mark_t *mark;
apr_size_t numbytes;
const char *eol_pos;
- apr_off_t total_parsed = 0;
+ apr_size_t total_parsed = 0;
/* invariant for this call */
const size_t eol_len = strlen(eol);
@@ -448,8 +448,8 @@
/* Move the stream read pointer to the first position behind the EOL.
*/
- SVN_ERR(svn_stream_move_mark(stream, mark, total_parsed));
- return svn_stream_seek(stream, mark);
+ SVN_ERR(svn_stream_seek(stream, mark));
+ return svn_stream_skip(stream, &total_parsed);
}
/* Guts of svn_stream_readline() and svn_stream_readline_detect_eol().