Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
gpm.19400
gpm-close-fds.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gpm-close-fds.patch of Package gpm.19400
--- src/daemon/startup.c.close-fds 2008-06-13 10:08:19.000000000 +0200 +++ 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 + 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() */ /****************** OLD CODE from gpn.c END ***********************/
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor