subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1489955 - /subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c
Date Wed, 05 Jun 2013 16:55:09 GMT
Author: stefan2
Date: Wed Jun  5 16:55:09 2013
New Revision: 1489955

URL: http://svn.apache.org/r1489955
Log:
On the fsfs-format7 branch: Fix a cache usage inefficiency when
svn_revision_t is only 32 bits.

* subversion/libsvn_fs_fs/cached_data.c
  (block_read): make sure the cache key is fully initialized

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

Modified: subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c
URL: http://svn.apache.org/viewvc/subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c?rev=1489955&r1=1489954&r2=1489955&view=diff
==============================================================================
--- subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c (original)
+++ subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c Wed Jun  5 16:55:09
2013
@@ -2641,7 +2641,7 @@ block_read(void **result,
                             && entry->size < ffd->block_size))
             {
               void *item = NULL;
-              pair_cache_key_t key;
+              pair_cache_key_t key = { 0 };
               key.revision = entry->items[0].revision;
               key.second = entry->items[0].number;
 



Mime
View raw message