subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1726099 - in /subversion/trunk/subversion: libsvn_fs_fs/temp_serializer.c libsvn_fs_x/temp_serializer.c
Date Thu, 21 Jan 2016 21:09:50 GMT
Author: stefan2
Date: Thu Jan 21 21:09:50 2016
New Revision: 1726099

URL: http://svn.apache.org/viewvc?rev=1726099&view=rev
Log:
Follow-up to r1726004:
Never toggle the meaning of a flag last minute ...

* subversion/libsvn_fs_fs/temp_serializer.c
  (svn_fs_fs__extract_dir_entry): Fix OOD condition.

* subversion/libsvn_fs_x/temp_serializer.c
  (svn_fs_x__extract_dir_entry): Same.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c
    subversion/trunk/subversion/libsvn_fs_x/temp_serializer.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c?rev=1726099&r1=1726098&r2=1726099&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/temp_serializer.c Thu Jan 21 21:09:50 2016
@@ -955,7 +955,7 @@ svn_fs_fs__extract_dir_entry(void **out,
   /* de-serialize that entry or return NULL, if no match has been found.
    * Be sure to check that the directory contents is still up-to-date. */
   entry_baton->out_of_date
-    = dir_data->txn_filesize == entry_baton->txn_filesize;
+    = dir_data->txn_filesize != entry_baton->txn_filesize;
 
   *out = NULL;
   if (found && !entry_baton->out_of_date)

Modified: subversion/trunk/subversion/libsvn_fs_x/temp_serializer.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_x/temp_serializer.c?rev=1726099&r1=1726098&r2=1726099&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_x/temp_serializer.c (original)
+++ subversion/trunk/subversion/libsvn_fs_x/temp_serializer.c Thu Jan 21 21:09:50 2016
@@ -867,7 +867,7 @@ svn_fs_x__extract_dir_entry(void **out,
 
   /* de-serialize that entry or return NULL, if no match has been found.
    * Be sure to check that the directory contents is still up-to-date. */
-  b->out_of_date = dir_data->txn_filesize == b->txn_filesize;
+  b->out_of_date = dir_data->txn_filesize != b->txn_filesize;
 
   if (found && !b->out_of_date)
     {



Mime
View raw message