Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/csync
diff options
context:
space:
mode:
authorKlaas Freitag <freitag@owncloud.com>2014-11-21 10:13:20 +0300
committerKlaas Freitag <freitag@owncloud.com>2014-12-09 19:02:51 +0300
commit133a8ec22503df9d4407c72e6c585f8068eacb87 (patch)
treee2ce60e47aaf74e3b25811f3b29a7e7dc9e1a610 /csync
parent131747ea4bcd9023d482b7bf6eb3f8384046b5a0 (diff)
Added a fixme for an edge case detected by QuickCheck.
Diffstat (limited to 'csync')
-rw-r--r--csync/src/csync_reconcile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/csync/src/csync_reconcile.c b/csync/src/csync_reconcile.c
index c68adc32d..53bd347ee 100644
--- a/csync/src/csync_reconcile.c
+++ b/csync/src/csync_reconcile.c
@@ -254,6 +254,10 @@ static int _csync_merge_algorithm_visitor(void *obj, void *data) {
is_equal_files = (other->modtime == cur->modtime);
} else {
is_equal_files = ((other->size == cur->size) && (other->modtime == cur->modtime));
+ // FIXME: do a binary comparision of the file here because of the following
+ // edge case:
+ // The files could still have different content, even though the mtime
+ // and size are the same.
}
if (is_equal_files) {
/* The files are considered equal. */