subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1170015 - /subversion/branches/fs-successor-ids/subversion/libsvn_fs_fs/fs_fs.c
Date Tue, 13 Sep 2011 02:46:25 GMT
Author: danielsh
Date: Tue Sep 13 02:46:25 2011
New Revision: 1170015

URL: http://svn.apache.org/viewvc?rev=1170015&view=rev
Log:
On the fs-successor-ids branch, fix an off-by-one.

* subversion/libsvn_fs_fs/fs_fs.c
  (read_successors_from_candidates):
    Fix an off-by-one in the line parsing.

Modified:
    subversion/branches/fs-successor-ids/subversion/libsvn_fs_fs/fs_fs.c

Modified: subversion/branches/fs-successor-ids/subversion/libsvn_fs_fs/fs_fs.c
URL: http://svn.apache.org/viewvc/subversion/branches/fs-successor-ids/subversion/libsvn_fs_fs/fs_fs.c?rev=1170015&r1=1170014&r2=1170015&view=diff
==============================================================================
--- subversion/branches/fs-successor-ids/subversion/libsvn_fs_fs/fs_fs.c (original)
+++ subversion/branches/fs-successor-ids/subversion/libsvn_fs_fs/fs_fs.c Tue Sep 13 02:46:25
2011
@@ -8102,7 +8102,7 @@ read_successors_from_candidates(apr_arra
                                        rev);
 
           pred_id = svn_fs_fs__id_parse(buf, strlen(buf), iterpool);
-          succ_id = svn_fs_fs__id_parse(p, strlen(p), iterpool);
+          succ_id = svn_fs_fs__id_parse(p+1, strlen(p+1), iterpool);
 
           if (pred_id == NULL || succ_id == NULL)
             return svn_error_createf(SVN_ERR_FS_CORRUPT, NULL,



Mime
View raw message