- fix repeated downloads (Tomas Heinrich, #186195)
This commit is contained in:
parent
a8c1c1519d
commit
2e3231dce4
11
wget-1.10.2-retry186195.patch
Normal file
11
wget-1.10.2-retry186195.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- wget-1.10.2/src/ftp.c.186195 2006-12-08 12:15:20.000000000 +0100
|
||||
+++ wget-1.10.2/src/ftp.c 2006-12-08 12:17:02.000000000 +0100
|
||||
@@ -1172,7 +1172,7 @@
|
||||
len = 0;
|
||||
err = getftp (u, &len, restval, con);
|
||||
|
||||
- if (con->csock != -1)
|
||||
+ if (con->csock == -1)
|
||||
con->st &= ~DONE_CWD;
|
||||
else
|
||||
con->st |= DONE_CWD;
|
@ -1,7 +1,7 @@
|
||||
Summary: A utility for retrieving files using the HTTP or FTP protocols.
|
||||
Name: wget
|
||||
Version: 1.10.2
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
License: GPL
|
||||
Group: Applications/Internet
|
||||
Url: http://wget.sunsite.dk/
|
||||
@ -13,6 +13,7 @@ Patch4: wget-1.9.1-docsyntax.patch
|
||||
Patch5: wget-1.10.1-helpfix.patch
|
||||
Patch6: wget-1.10.2-to11.patch
|
||||
Patch7: wget-1.10.2-218211.patch
|
||||
Patch8: wget-1.10.2-retry186195.patch
|
||||
Provides: webclient
|
||||
Prereq: /sbin/install-info
|
||||
BuildRequires: perl, openssl-devel, pkgconfig, texinfo, gettext, autoconf
|
||||
@ -35,6 +36,7 @@ support for Proxy servers, and configurability.
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
|
||||
cp %{SOURCE2} $RPM_BUILD_DIR/wget-%{version}/po/de.po
|
||||
chmod a+x doc/texi2pod.pl
|
||||
@ -73,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_infodir}/*
|
||||
|
||||
%changelog
|
||||
* Thu Dec 08 2006 Karsten Hopp <karsten@redhat.com> 1.10.2-10
|
||||
- fix repeated downloads (Tomas Heinrich, #186195)
|
||||
|
||||
* Thu Dec 07 2006 Karsten Hopp <karsten@redhat.com> 1.10.2-9
|
||||
- add distflag, rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user