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 2016/01/21 23:00:25 UTC
svn commit: r1726115 - /subversion/trunk/subversion/libsvn_fs_x/verify.c
Author: stefan2
Date: Thu Jan 21 22:00:25 2016
New Revision: 1726115
URL: http://svn.apache.org/viewvc?rev=1726115&view=rev
Log:
Fix breakage introduced during the FSFS->FSX port in r1726036.
* subversion/libsvn_fs_x/verify.c
(expect_buffer_nul): Revert to old code.
Modified:
subversion/trunk/subversion/libsvn_fs_x/verify.c
Modified: subversion/trunk/subversion/libsvn_fs_x/verify.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_x/verify.c?rev=1726115&r1=1726114&r2=1726115&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_x/verify.c (original)
+++ subversion/trunk/subversion/libsvn_fs_x/verify.c Thu Jan 21 22:00:25 2016
@@ -448,8 +448,8 @@ expect_buffer_nul(svn_fs_x__revision_fil
const char *file_name;
apr_off_t offset;
- SVN_ERR(svn_io_file_name_get(&file_name, file, scratch_pool));
- SVN_ERR(svn_io_file_get_offset(&offset, file, scratch_pool));
+ SVN_ERR(svn_fs_x__rev_file_name(&file_name, file, scratch_pool));
+ SVN_ERR(svn_fs_x__rev_file_offset(&offset, file));
offset -= size - i;
return svn_error_createf(SVN_ERR_FS_CORRUPT, NULL,