Hello Marko,

thanks for digging the problem down and delivering the patch.

Am Dienstag, den 09.07.2013, 10:26 +0200 schrieb Marko Randjelovic:
> The upstream author said the patch I provided looks fine, though only this
> change is really necessary:
> 
> --------------------------------------------------------------
> diff -uNpr lftp-4.3.6/src/CmdExec.cc lftp-4.3.7/src/CmdExec.cc
> --- lftp-4.3.6/src/CmdExec.cc 2012-01-24 10:38:25.000000000 +0100
> +++ lftp-4.3.7/src/CmdExec.cc 2012-05-30 08:18:54.000000000 +0200
> @@ -351,7 +351,7 @@ void CmdExec::AtFinish()
>  {
>     if(queue_feeder && queue_feeder->JobCount())
>        return;
> -   if(!fed_at_finish && NumAwaitedJobs()==0) {
> +   if(!fed_at_finish && NumAwaitedJobs()==0 && cmd_buf.Size()==0) {
>        
> FeedCmd(ResMgr::Query(queue_feeder?"cmd:at-queue-finish":"cmd:at-finish",0));
>        FeedCmd("\n");
>        fed_at_finish=true;
> --------------------------------------------------------------
> 
> I hope this bug will be corrected in Debian stable.

I asked the Debian release team if an updated package with this patch is
OK and will be approved:

http://bugs.debian.org/717820

-- 
Noël Köthe <noel debian.org>
Debian GNU/Linux, www.debian.org

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to