subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1490959 - /subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/reps.c
Date Sat, 08 Jun 2013 11:26:12 GMT
Author: stefan2
Date: Sat Jun  8 11:26:12 2013
New Revision: 1490959

URL: http://svn.apache.org/r1490959
Log:
On the fsfs-format7 branch: fix a copy'n'pasto that resulted in invalid
on-disk data for rep containers.

* subversion/libsvn_fs_fs/reps.c
  (svn_fs_fs__write_reps_container): serialize the right array

Modified:
    subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/reps.c

Modified: subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/reps.c
URL: http://svn.apache.org/viewvc/subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/reps.c?rev=1490959&r1=1490958&r2=1490959&view=diff
==============================================================================
--- subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/reps.c (original)
+++ subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/reps.c Sat Jun  8 11:26:12 2013
@@ -672,7 +672,7 @@ svn_fs_fs__write_reps_container(svn_stre
   for (i = 0; i < builder->instructions->nelts; ++i)
     {
       const instruction_t *instruction
-        = &APR_ARRAY_IDX(builder->reps, i, instruction_t);
+        = &APR_ARRAY_IDX(builder->instructions, i, instruction_t);
       svn_packed__add_int(instructions_stream, instruction->offset);
       svn_packed__add_uint(instructions_stream, instruction->count);
     }



Mime
View raw message