Advance file pointer past the entry blocks - 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 bcd01c69cfead07db9df4e8dc6d07fe2263766b8
DIR parent 9fef9d0082f1cfb9dc1883482f45ba3f84bc5e9c
HTML Author: sin <sin@2f30.org>
Date: Tue, 20 Mar 2018 18:41:36 +0000
Advance file pointer past the entry blocks
Diffstat:
M dedup.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/dedup.c b/dedup.c
@@ -311,6 +311,7 @@ list(void)
read(ifd, &ent, sizeof(ent));
dump_md(ent.md, sizeof(ent.md));
putchar('\n');
+ lseek(ifd, ent.nblks * sizeof(ent.blks[0]), SEEK_CUR);
}
}