iNo need to explicitly position fd - dedup - deduplicating backup program Err bitreich.org 70 hgit clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ URL:git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ bitreich.org 70 1Log /scm/dedup/log.gph bitreich.org 70 1Files /scm/dedup/files.gph bitreich.org 70 1Refs /scm/dedup/refs.gph bitreich.org 70 1Tags /scm/dedup/tag bitreich.org 70 1README /scm/dedup/file/README.gph bitreich.org 70 1LICENSE /scm/dedup/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 79255b6852407b7ba71207ead1e22887eca3e664 /scm/dedup/commit/79255b6852407b7ba71207ead1e22887eca3e664.gph bitreich.org 70 1parent 6ff2339d17de2f963e216f164275cf0b96a1e206 /scm/dedup/commit/6ff2339d17de2f963e216f164275cf0b96a1e206.gph bitreich.org 70 hAuthor: sin URL:mailto:sin@2f30.org bitreich.org 70 iDate: Tue, 26 Feb 2019 11:21:56 +0000 Err bitreich.org 70 i Err bitreich.org 70 iNo need to explicitly position fd Err bitreich.org 70 i Err bitreich.org 70 iIt is the responsibility of the caller to make sure that fd is Err bitreich.org 70 ipositioned correctly. This is to be consistent with the way we walk Err bitreich.org 70 ithe cache. Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M dedup.c | 1 - Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 0 insertions(+), 1 deletion(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/dedup.c b/dedup.c /scm/dedup/file/dedup.c.gph bitreich.org 70 i@@ -405,7 +405,6 @@ walk_snap(int (*fn)(struct snapshot *, void *), void *arg) Err bitreich.org 70 i { Err bitreich.org 70 i uint64_t i; Err bitreich.org 70 i Err bitreich.org 70 i- xlseek(ifd, SNAPHDR_LEN, SEEK_SET); Err bitreich.org 70 i for (i = 0; i < snaphdr.nr_snapshots; i++) { Err bitreich.org 70 i struct snapshot *snap; Err bitreich.org 70 i int ret; Err bitreich.org 70 .