rpms/gpm/devel gpm-1.20.5-close-fds.patch, NONE, 1.1 gpm.spec, 1.62, 1.63

Zdenek Prikryl (zprikryl) fedora-extras-commits at redhat.com
Thu Jul 17 09:47:32 UTC 2008


Author: zprikryl

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

Modified Files:
	gpm.spec 
Added Files:
	gpm-1.20.5-close-fds.patch 
Log Message:
Rediff 


gpm-1.20.5-close-fds.patch:

--- NEW FILE gpm-1.20.5-close-fds.patch ---
--- gpm-1.20.5/src/daemon/startup.c.close-fds	2008-07-17 11:39:55.000000000 +0200
+++ gpm-1.20.5/src/daemon/startup.c	2008-07-17 11:40:20.000000000 +0200
@@ -135,6 +135,11 @@ void startup(int argc, char **argv)
    check_uniqueness();
    gpm_report(GPM_PR_INFO,GPM_MESS_STARTED);
 
+   // close extra fds
+   close(0);
+   close(1);
+   close(2);
+
    //return mouse_table[1].fd; /* the second is handled in the main() */
 
    /****************** OLD CODE from gpn.c  END ***********************/


Index: gpm.spec
===================================================================
RCS file: /cvs/extras/rpms/gpm/devel/gpm.spec,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- gpm.spec	17 Jul 2008 09:18:40 -0000	1.62
+++ gpm.spec	17 Jul 2008 09:46:43 -0000	1.63
@@ -11,7 +11,7 @@
 Patch1: gpm-1.20.1-multilib.patch
 Patch2: gpm-1.20.1-lib-silent.patch
 Patch3: gpm-1.20.3-gcc4.3.patch
-Patch4: gpm-1.20.3-close-fds.patch
+Patch4: gpm-1.20.5-close-fds.patch
 Patch5: gpm-1.20.1-weak-wgetch.patch
 Prereq: /sbin/chkconfig /sbin/ldconfig /sbin/install-info
 Requires: bash >= 2.0




More information about the fedora-extras-commits mailing list