Thomas-Tsai/partclone — pull request #53 by pfrouleau (2014-07-12 22:54:26+00:00)
Title: Fix the expectation of an extraneous checksum during restore/check in th...

Fix the expectation of an extraneous checksum during restore/check in the last read

When the last blocks are written and are less than cs_per_checksum, a last
checksum is written for them. During restore/check, we compute how many
bytes must be read (blocks+checksum).

However, there is an error in the condition that add one more checksum to
be read during the last read. That condition must takes into account the
number of blocks already copied.