15 lines
500 B
Diff
15 lines
500 B
Diff
|
--- 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 ***********************/
|