You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2015/03/02 21:01:56 UTC
svn commit: r1663413 -
/subversion/branches/ra-svn-tuning/subversion/libsvn_ra_svn/marshal.c
Author: stefan2
Date: Mon Mar 2 20:01:56 2015
New Revision: 1663413
URL: http://svn.apache.org/r1663413
Log:
On the ra-svn-tuning branch:
* subversion/libsvn_ra_svn/marshal.c
(svn_ra_svn__write_data_log_changed_path): Correct / reduce the calculation
of the needed buffer size.
Modified:
subversion/branches/ra-svn-tuning/subversion/libsvn_ra_svn/marshal.c
Modified: subversion/branches/ra-svn-tuning/subversion/libsvn_ra_svn/marshal.c
URL: http://svn.apache.org/viewvc/subversion/branches/ra-svn-tuning/subversion/libsvn_ra_svn/marshal.c?rev=1663413&r1=1663412&r2=1663413&view=diff
==============================================================================
--- subversion/branches/ra-svn-tuning/subversion/libsvn_ra_svn/marshal.c (original)
+++ subversion/branches/ra-svn-tuning/subversion/libsvn_ra_svn/marshal.c Mon Mar 2 20:01:56 2015
@@ -2603,11 +2603,9 @@ svn_ra_svn__write_data_log_changed_path(
+ path_len + SVN_INT64_BUFFER_SIZE
/* path */
+ 2 /* action */
- + 4 + copyfrom_len + 2 * SVN_INT64_BUFFER_SIZE
- /* list with copy-from info */
- + 2 /* list start */
- + flags_str->len /* longest flag names */
- + 4; /* close open lists*/
+ + 2 + copyfrom_len + 2 * SVN_INT64_BUFFER_SIZE
+ /* list start + copy-from info */
+ + flags_str->len; /* flags and closing lists */
/* If the remaining buffer is big enough and we've got all parts,
directly copy into the buffer. */