rpms/ftp/devel netkit-ftp-0.17-case.patch, NONE, 1.1 ftp.spec, 1.46, 1.47

Martin Nagy (mnagy) fedora-extras-commits at redhat.com
Wed Apr 23 14:42:23 UTC 2008


Author: mnagy

Update of /cvs/extras/rpms/ftp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16386

Modified Files:
	ftp.spec 
Added Files:
	netkit-ftp-0.17-case.patch 
Log Message:
* Wed Apr 23 2008 Martin Nagy <mnagy at redhat.com> - 0.17-48
- fix mget when using case
- Resolves: #442712


netkit-ftp-0.17-case.patch:

--- NEW FILE netkit-ftp-0.17-case.patch ---
diff -up netkit-ftp-0.17/ftp/cmds.c.case netkit-ftp-0.17/ftp/cmds.c
--- netkit-ftp-0.17/ftp/cmds.c.case	2008-04-23 14:52:59.000000000 +0200
+++ netkit-ftp-0.17/ftp/cmds.c	2008-04-23 14:58:07.000000000 +0200
@@ -831,8 +831,11 @@ mget(int argc, char **argv)
 						tp++;
 						tp2++;
 					}
+					tp = tmpbuf;
+				}
+				else {
+					tp = cp;
 				}
-				tp = tmpbuf;
 			}
 			if (ntflag) {
 				tp = dotrans(tp);


Index: ftp.spec
===================================================================
RCS file: /cvs/extras/rpms/ftp/devel/ftp.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- ftp.spec	7 Apr 2008 10:52:13 -0000	1.46
+++ ftp.spec	23 Apr 2008 14:41:47 -0000	1.47
@@ -1,7 +1,7 @@
 Summary: The standard UNIX FTP (File Transfer Protocol) client
 Name: ftp
 Version: 0.17
-Release: 47%{?dist}
+Release: 48%{?dist}
 License: BSD with advertising
 Group: Applications/Internet
 Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-ftp-%{version}.tar.gz
@@ -29,6 +29,7 @@
 Patch21: netkit-ftp-0.17-fprintf.patch
 Patch22: netkit-ftp-0.17-bitrate.patch
 Patch23: netkit-ftp-0.17-arg_max.patch
+Patch24: netkit-ftp-0.17-case.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: glibc-devel, readline-devel, ncurses-devel
@@ -66,6 +67,7 @@
 %patch21 -p1 -b .fprintf
 %patch22 -p1 -b .bitrate
 %patch23 -p1 -b .arg_max
+%patch24 -p1 -b .case
 
 %build
 sh configure --with-c-compiler=gcc --enable-ipv6
@@ -99,6 +101,10 @@
 %{_mandir}/man5/netrc.*
 
 %changelog
+* Wed Apr 23 2008 Martin Nagy <mnagy at redhat.com> - 0.17-48
+- fix mget when using case
+- Resolves: #442712
+
 * Mon Apr 07 2008 Martin Nagy <mnagy at redhat.com> - 0.17-47
 - Use sysconf to get ARG_MAX instead of a macro (#440782)
 




More information about the fedora-extras-commits mailing list