subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1481445 - /subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/pack.c
Date Sat, 11 May 2013 22:54:10 GMT
Author: stefan2
Date: Sat May 11 22:54:10 2013
New Revision: 1481445

URL: http://svn.apache.org/r1481445
Log:
On the fsfs-format7 branch.

* subversion/libsvn_fs_fs/pack.c
  (write_changes_containers): fix test for non-empty APR arrays

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

Modified: subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/pack.c
URL: http://svn.apache.org/viewvc/subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/pack.c?rev=1481445&r1=1481444&r2=1481445&view=diff
==============================================================================
--- subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/pack.c (original)
+++ subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/pack.c Sat May 11 22:54:10 2013
@@ -1289,7 +1289,7 @@ write_changes_containers(pack_context_t 
         block_left = get_block_left(context)
                    - svn_fs_fs__changes_estimate_size(container);
 
-      if ((block_left < entry->size) && sub_items->elts)
+      if ((block_left < entry->size) && sub_items->nelts)
         {
           SVN_ERR(write_changes_container(context, container, sub_items,
                                           new_entries, iterpool));
@@ -1320,7 +1320,7 @@ write_changes_containers(pack_context_t 
       svn_pool_clear(iterpool);
     }
 
-  if (sub_items->elts)
+  if (sub_items->nelts)
     SVN_ERR(write_changes_container(context, container, sub_items,
                                     new_entries, iterpool));
 



Mime
View raw message