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 2014/03/12 17:12:42 UTC

svn commit: r1576801 - /subversion/trunk/subversion/libsvn_fs_fs/index.c

Author: stefan2
Date: Wed Mar 12 16:12:41 2014
New Revision: 1576801

URL: http://svn.apache.org/r1576801
Log:
Follow-up to r1575628: Reinstantiate code that got removed accidentally.

* subversion/libsvn_fs_fs/index.c
  (l2p_page_info_copy): Actually read the page table entry.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/index.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/index.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/index.c?rev=1576801&r1=1576800&r2=1576801&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/index.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/index.c Wed Mar 12 16:12:41 2014
@@ -938,6 +938,7 @@ l2p_page_info_copy(l2p_page_info_baton_t
       /* all pages are of the same size and full, except for the last one */
       baton->page_offset = (apr_uint32_t)(baton->item_index % header->page_size);
       baton->page_no = (apr_uint32_t)(baton->item_index / header->page_size);
+      baton->entry = first_entry[baton->page_no];
     }
 
   baton->first_revision = header->first_revision;