rpms/kdelibs/F-9 kdelibs-4.2.2-kde#180785.patch, NONE, 1.1 kdelibs.spec, 1.389, 1.390

Rex Dieter rdieter at fedoraproject.org
Sat Apr 18 23:14:13 UTC 2009


Author: rdieter

Update of /cvs/pkgs/rpms/kdelibs/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23447/F-9

Modified Files:
	kdelibs.spec 
Added Files:
	kdelibs-4.2.2-kde#180785.patch 
Log Message:
* Sat Apr 18 2009 Rex Dieter <rdieter at fedoraproject.org> 4.2.2-6
- squash leaky file descriptors in kdeinit (kde#180785,rhbz#484370)


kdelibs-4.2.2-kde#180785.patch:

--- NEW FILE kdelibs-4.2.2-kde#180785.patch ---
--- branches/KDE/4.2/kdelibs/kinit/kinit.cpp	2009/03/25 12:32:32	944314
+++ branches/KDE/4.2/kdelibs/kinit/kinit.cpp	2009/04/18 19:34:41	955904
@@ -184,6 +184,12 @@
  */
 static void close_fds()
 {
+   while (struct child *child = children) {
+      close(child->sock);
+      children = child->next;
+      free(child);
+   }
+
    if (d.deadpipe[0] != -1)
    {
       close(d.deadpipe[0]);



Index: kdelibs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdelibs/F-9/kdelibs.spec,v
retrieving revision 1.389
retrieving revision 1.390
diff -u -r1.389 -r1.390
--- kdelibs.spec	10 Apr 2009 22:26:19 -0000	1.389
+++ kdelibs.spec	18 Apr 2009 23:13:42 -0000	1.390
@@ -1,6 +1,6 @@
 Summary: K Desktop Environment 4 - Libraries
 Version: 4.2.2
-Release: 5%{?dist}
+Release: 6%{?dist}
 
 %if 0%{?fedora} > 8
 Name: kdelibs
@@ -90,6 +90,7 @@
 Patch100: kdelibs-4.2.2-kio_http.patch
 Patch101: kdelibs-4.2.2-kjob.patch
 Patch102: kdelibs-4.2.2-bidi-kde#189161.patch
+Patch103: kdelibs-4.2.2-kde#180785.patch
 
 # 4.3 branch
 Patch200: kdelibs-4.1.96-AllowExternalPaths.patch
@@ -233,6 +234,7 @@
 %patch100 -p0 -b .kio_http
 %patch101 -p0 -b .kjob
 %patch102 -p4 -b .bidi-kde#189161
+%patch103 -p4 -b .kde#180785
 
 # 4.3
 %patch200 -p1 -b .AllowExternalPaths
@@ -417,6 +419,9 @@
 
 
 %changelog
+* Sat Apr 18 2009 Rex Dieter <rdieter at fedoraproject.org> 4.2.2-6
+- squash leaky file descriptors in kdeinit (kde#180785,rhbz#484370)
+
 * Fri Apr 10 2009 Rex Dieter <rdieter at fedoraproject.org> 4.2.2-5
 - fix bidi-related hangs in khtml (kde#189161)
 




More information about the fedora-extras-commits mailing list