]> git.pld-linux.org Git - packages/lftp.git/commitdiff
- rel 2; fix http redir handling auto/th/lftp-4.5.0-2 auto/ti/lftp-4.5.0-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 26 May 2014 07:28:23 +0000 (09:28 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 26 May 2014 07:28:23 +0000 (09:28 +0200)
lftp-git.patch
lftp.spec

index a7c72e83f1e5a1143eb3a73b15705cd0904d7b4a..2bdaa5da463056cf2b3c83e83ba5605179a59fc7 100644 (file)
@@ -52,3 +52,22 @@ index 4eb1e4d..1ce4ea6 100644
        return MOVED;
     }
     reply->DropData(recv_buf);
+commit c6c77d67316126c79d446baff27aa3b3a2f8baa8
+Author: Alexander V. Lukyanov <lav@yars.free.net>
+Date:   Mon May 26 11:02:40 2014 +0400
+
+    fixed redirection handling
+
+diff --git a/src/FileCopy.cc b/src/FileCopy.cc
+index f7e774c..30c2bdb 100644
+--- a/src/FileCopy.cc
++++ b/src/FileCopy.cc
+@@ -1134,7 +1134,7 @@ int FileCopyPeerFA::Get_LL(int len)
+           if(FAmode==FA::QUOTE_CMD)
+              FAmode=FA::RETRIEVE;
+-          xstring& loc=xstring::get_tmp(loc_c);
++          xstring loc(loc_c);
+           session->Close(); // loc_c is no longer valid.
+           loc_c=0;
index c0869ccbfcc3e8b9b5b33ef1344b66744e42e15e..d5436cfc0d1bad872df3717a512574aa9e1219da 100644 (file)
--- a/lftp.spec
+++ b/lftp.spec
@@ -23,7 +23,7 @@ Summary(pt_BR.UTF-8): Sofisticado programa de transferência de arquivos (client
 Summary(zh_CN.UTF-8):  lftp 客户端程序
 Name:          lftp
 Version:       4.5.0
-Release:       1
+Release:       2
 License:       GPL v3+
 Group:         Applications/Networking
 Source0:       http://lftp.yar.ru/ftp/%{name}-%{version}.tar.xz
This page took 0.076436 seconds and 4 git commands to generate.