count-delta.c: comment fixes
There was a stale comment that explains why the old code could undercount when delta data copied things around inside detination buffer. We do not use that kind of delta, so the comment does not apply.
Nicolas Pitre committed
Feb 10, 2006 at 10:20 UTC
e7ad4a9c3c9d383d1df52410e18808174f7be667
1 file changed
+1
-5
count-delta.c
+1
-5
@@ -16,11 +16,7 @@
16
*
17
* Number of bytes that are _not_ copied from the source is deletion,
18
* and number of inserted literal bytes are addition, so sum of them
19
- * is the extent of damage. xdelta can express an edit that copies
20
- * data inside of the destination which originally came from the
21
- * source. We do not count that in the following routine, so we are
22
- * undercounting the source material that remains in the final output
23
- * that way.
19
+ * is the extent of damage.
20
*/
21
int count_delta(void *delta_buf, unsigned long delta_size,
22
unsigned long *src_copied, unsigned long *literal_added)