patch: reget working again [Re: Reget: bug or feature?]

Alexander Savelyev i at fano.com.ua
Tue Jan 20 20:04:46 UTC 2004


Arpad Biro wrote:
> Hi,
> 
> MC 4.6.1-pre1:
> 
> It seems that when copying files, "reget" means to append the last
> s-t bytes of the source file to the target file, where s is the source
> size and t is the target size.
> 
> However, when performing "move", "reget" works differently:
> the whole source file is appended to the target.
> 
> Is this difference a bug or a feature?

It's a bug, below is a patch for this feature. Using global variable the 
same patch only 6 rows length :)

-- 
~.

    Alexander

  >>> mailto:i at fano.com.ua

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff.mc
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20040120/ae1fbb52/attachment.ksh>


More information about the mc-devel mailing list