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 2013/06/14 13:53:59 UTC
svn commit: r1493043 -
/subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c
Author: stefan2
Date: Fri Jun 14 11:53:58 2013
New Revision: 1493043
URL: http://svn.apache.org/r1493043
Log:
On the fsfs-format: fix another containered representation read issue.
* subversion/libsvn_fs_fs/cached_data.c
(create_rep_state_body): always initialize the rep-state START member
Modified:
subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c
Modified: subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c
URL: http://svn.apache.org/viewvc/subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c?rev=1493043&r1=1493042&r2=1493043&view=diff
==============================================================================
--- subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c (original)
+++ subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c Fri Jun 14 11:53:58 2013
@@ -682,6 +682,7 @@ create_rep_state_body(rep_state_t **rep_
rs->window_cache = ffd->txdelta_window_cache;
rs->combined_cache = ffd->combined_window_cache;
rs->ver = -1;
+ rs->start = -1;
if (ffd->rep_header_cache && !svn_fs_fs__id_txn_used(&rep->txn_id))
SVN_ERR(svn_cache__get((void **) &rh, &is_cached,
@@ -689,9 +690,6 @@ create_rep_state_body(rep_state_t **rep_
if (is_cached)
{
- /* we don't know the offset of the item */
- rs->start = -1;
-
if (reuse_shared_file)
{
rs->file = *shared_file;