Re: Nulls instead of data

This is a discussion on Re: Nulls instead of data within the Rsync forums, part of the Networking and Network Related category; On Tue, Sep 20, 2005 at 03:56:24PM +0200, Wojtek.Pilorz wrote: > When reading at offset 262144, we ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-20-2005
Wayne Davison
 
Posts: n/a
Default Re: Nulls instead of data

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.

...wayne..
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:37 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0