dedup

small dedup program
git clone git://git.2f30.org/dedup.git
Log | Files | Refs | LICENSE

commit bcd01c69cfead07db9df4e8dc6d07fe2263766b8
parent 9fef9d0082f1cfb9dc1883482f45ba3f84bc5e9c
Author: sin <sin@2f30.org>
Date:   Tue, 20 Mar 2018 18:41:36 +0000

Advance file pointer past the entry blocks

Diffstat:
dedup.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

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); } }