Nulls instead of data

Wayne Davison wayned at
Tue Sep 20 15:40:41 GMT 2005

On Tue, Sep 20, 2005 at 03:56:24PM +0200, Wojtek.Pilorz wrote:
> When reading at offset 262144, we got 45056=0xb000 bytes instead of
> 262144 requested; After that there are nulls in resulting file up to
> 0x80000;

Yes, the file-reading in map_ptr() was assuming that any reduction in
the amount of data requested was an error instead of trying to read more
data to finish filling the buffer.  The attached patch should hopefully
fix this for you.


More information about the rsync mailing list