aboutsummaryrefslogtreecommitdiff
path: root/subversion/libsvn_wc/old-and-busted.c
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/libsvn_wc/old-and-busted.c')
-rw-r--r--subversion/libsvn_wc/old-and-busted.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/subversion/libsvn_wc/old-and-busted.c b/subversion/libsvn_wc/old-and-busted.c
index 8cd94af2733b..b2e8d240f15e 100644
--- a/subversion/libsvn_wc/old-and-busted.c
+++ b/subversion/libsvn_wc/old-and-busted.c
@@ -1203,7 +1203,8 @@ svn_wc__read_entries_old(apr_hash_t **entries,
/* Open the entries file. */
SVN_ERR(svn_wc__open_adm_stream(&stream, dir_abspath, SVN_WC__ADM_ENTRIES,
scratch_pool, scratch_pool));
- SVN_ERR(svn_string_from_stream(&buf, stream, scratch_pool, scratch_pool));
+ SVN_ERR(svn_string_from_stream2(&buf, stream, SVN__STREAM_CHUNK_SIZE,
+ scratch_pool));
/* We own the returned data; it is modifiable, so cast away... */
curp = (char *)buf->data;