No need to set fd pos to 0, it is already at 0 - dedup - deduplicating backup program HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 6ff2339d17de2f963e216f164275cf0b96a1e206 DIR parent 0dbd594d0b2c51df4b6cfe6f837322b002ccfee2 HTML Author: sin <sin@2f30.org> Date: Tue, 26 Feb 2019 11:19:45 +0000 No need to set fd pos to 0, it is already at 0 Diffstat: M dedup.c | 1 - 1 file changed, 0 insertions(+), 1 deletion(-) --- DIR diff --git a/dedup.c b/dedup.c @@ -445,7 +445,6 @@ load_cache(void) uint64_t nr_entries; uint64_t i; - xlseek(cfd, 0, SEEK_SET); nr_entries = cache_nr_entries(); for (i = 0; i < nr_entries; i++) { struct cache_entry cache_entry;