subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1490961 - /subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/cached_data.c
Date Sat, 08 Jun 2013 11:29:19 GMT
Author: stefan2
Date: Sat Jun  8 11:29:18 2013
New Revision: 1490961

URL: http://svn.apache.org/r1490961
Log:
On the fsfs-format7 branch: fix the size calculation for plain reps.

* subversion/libsvn_fs_fs/cached_data.c
  (svn_fs_fs__get_representation_length): negation was a leftover of the
                                          flag-based code

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=1490961&r1=1490960&r2=1490961&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 Sat Jun  8 11:29:18
2013
@@ -1801,7 +1801,7 @@ svn_fs_fs__get_representation_length(svn
   /* RS->FILE may be shared between RS instances -> make sure we point
    * to the right data. */
   *packed_len = rs.size;
-  if (!rep_header->type == svn_fs_fs__rep_plain)
+  if (rep_header->type == svn_fs_fs__rep_plain)
     *expanded_len = rs.size;
   else
     SVN_ERR(cache_windows(expanded_len, fs, &rs, pool));



Mime
View raw message