1 diff -urN librsync-0.9.7/mdfour.h librsync-0.9.7dev/mdfour.h
2 --- librsync-0.9.7/mdfour.h 2004-02-07 18:17:57.000000000 -0500
3 +++ librsync-0.9.7dev/mdfour.h 2006-03-06 03:21:46.000000000 -0500
9 + unsigned int A, B, C, D;
13 diff -urN librsync-0.9.7/patch.c librsync-0.9.7dev/patch.c
14 --- librsync-0.9.7/patch.c 2004-09-17 17:35:50.000000000 -0400
15 +++ librsync-0.9.7dev/patch.c 2006-03-06 03:21:06.000000000 -0500
18 rs_buffers_t *buffs = job->stream;
20 - len = job->basis_len;
22 /* copy only as much as will fit in the output buffer, so that we
23 * don't have to block or store the input. */
24 - if (len > buffs->avail_out)
25 + if (job->basis_len > buffs->avail_out)
26 len = buffs->avail_out;
28 + len = job->basis_len;