rpms/ftp/F-7 netkit-ftp-0.17-sigseg.patch, NONE, 1.1 ftp.spec, 1.39, 1.40

Marcela Mašláňová (mmaslano) fedora-extras-commits at redhat.com
Tue Aug 7 11:03:47 UTC 2007


Author: mmaslano

Update of /cvs/pkgs/rpms/ftp/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19421

Modified Files:
	ftp.spec 
Added Files:
	netkit-ftp-0.17-sigseg.patch 
Log Message:
Add patch.


netkit-ftp-0.17-sigseg.patch:

--- NEW FILE netkit-ftp-0.17-sigseg.patch ---
--- netkit-ftp-0.17-orig/ftp/ftp.c	2007-08-06 23:32:49.000000000 +0200
+++ netkit-ftp-0.17/ftp/ftp.c	2007-08-06 23:31:06.000000000 +0200
@@ -483,8 +483,10 @@ getreply(int expecteof)
 					return (0);
 				}
 				lostpeer(0);
-				fclose(cout);
-				cout = NULL;
+				if (cout) {
+					fclose(cout);
+					cout = NULL;
+				}
 				if (verbose) {
 					printf("421 Service not available, remote server has closed connection\n");
 					(void) fflush(stdout);



Index: ftp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ftp/F-7/ftp.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- ftp.spec	15 Feb 2007 15:15:53 -0000	1.39
+++ ftp.spec	7 Aug 2007 11:03:14 -0000	1.40
@@ -1,7 +1,7 @@
 Summary: The standard UNIX FTP (File Transfer Protocol) client
 Name: ftp
 Version: 0.17
-Release: 40%{?dist}
+Release: 41%{?dist}
 License: BSD
 Group: Applications/Internet
 Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-ftp-%{version}.tar.gz
@@ -23,6 +23,7 @@
 Patch15: netkit-ftp-0.17-multiipv6.patch
 Patch16: netkit-ftp-0.17-nodebug.patch
 Patch17: netkit-ftp-0.17-stamp.patch
+Patch18: netkit-ftp-0.17-sigseg.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: glibc-devel, readline-devel, ncurses-devel
@@ -54,6 +55,7 @@
 %patch15 -p1 -b .multiipv6
 %patch16 -p1 -b .nodebug
 %patch17 -p1 -b .stamp
+%patch18 -p1 -b .sigseg
 
 %build
 sh configure --with-c-compiler=gcc --enable-ipv6
@@ -87,6 +89,9 @@
 %{_mandir}/man5/netrc.*
 
 %changelog
+* Tue Aug 07 2007 Marcela Maslanova <mmaslano at redhat.com> - 0.17-41
+- #251074 add patch from Jan Kratochvil
+
 * Wed Feb 15 2007 Marcela Maslanova <mmaslano at redhat.com> - 0.17-40
 - review again
 




More information about the fedora-extras-commits mailing list