rpms/gpm/devel gpm-1.20.5-close-fds.patch, 1.1, 1.2 gpm.spec, 1.64, 1.65
Zdenek Prikryl
zprikryl at fedoraproject.org
Wed Dec 3 09:30:26 UTC 2008
- Previous message (by thread): rpms/kernel/F-9 linux-2.6.27.7-alsa-driver-1.0.18a.patch, NONE, 1.1 linux-2.6.27.7-alsa-driver-fixups.patch, NONE, 1.1 config-generic, 1.128, 1.129 kernel.spec, 1.867, 1.868
- Next message (by thread): rpms/elfinfo/devel elfinfo.spec,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: zprikryl
Update of /cvs/extras/rpms/gpm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10524
Modified Files:
gpm-1.20.5-close-fds.patch gpm.spec
Log Message:
Fixed debug mode (#473422)
gpm-1.20.5-close-fds.patch:
Index: gpm-1.20.5-close-fds.patch
===================================================================
RCS file: /cvs/extras/rpms/gpm/devel/gpm-1.20.5-close-fds.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gpm-1.20.5-close-fds.patch 17 Jul 2008 09:46:43 -0000 1.1
+++ gpm-1.20.5-close-fds.patch 3 Dec 2008 09:30:25 -0000 1.2
@@ -1,13 +1,16 @@
---- 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)
+diff -up gpm-1.20.5/src/daemon/startup.c.close-fds gpm-1.20.5/src/daemon/startup.c
+--- gpm-1.20.5/src/daemon/startup.c.close-fds 2008-06-13 10:08:19.000000000 +0200
++++ gpm-1.20.5/src/daemon/startup.c 2008-12-02 10:11:12.000000000 +0100
+@@ -135,6 +135,13 @@ 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);
++ if (option.run_status == GPM_RUN_STARTUP ) {
++ close(0);
++ close(1);
++ close(2);
++ }
+
//return mouse_table[1].fd; /* the second is handled in the main() */
Index: gpm.spec
===================================================================
RCS file: /cvs/extras/rpms/gpm/devel/gpm.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- gpm.spec 17 Jul 2008 10:23:47 -0000 1.64
+++ gpm.spec 3 Dec 2008 09:30:25 -0000 1.65
@@ -1,7 +1,7 @@
Summary: A mouse server for the Linux console.
Name: gpm
Version: 1.20.5
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group: System Environment/Daemons
URL: http://unix.schottelius.org/gpm/
@@ -129,6 +129,9 @@
%{_libdir}/libgpm.so
%changelog
+* Wed Dec 02 2008 Zdenek Prikryl <zprikryl at redhat.com> - 1.20.5-2
+- Fixed debug mode (#473422)
+
* Thu Jul 17 2008 Zdenek Prikryl <zprikryl at redhat.com> - 1.20.5-1
- Updated to 1.20.5
- Removed doc patch
- Previous message (by thread): rpms/kernel/F-9 linux-2.6.27.7-alsa-driver-1.0.18a.patch, NONE, 1.1 linux-2.6.27.7-alsa-driver-fixups.patch, NONE, 1.1 config-generic, 1.128, 1.129 kernel.spec, 1.867, 1.868
- Next message (by thread): rpms/elfinfo/devel elfinfo.spec,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list