Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
xinetd
xinetd-2.3.14-server_args-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xinetd-2.3.14-server_args-fix.diff of Package xinetd
--- xinetd/confparse.c +++ xinetd/confparse.c @@ -54,6 +54,7 @@ { char *server_name ; const char *func = "fix_server_argv" ; + char** argv; if( SC_SERVER(scp) == NULL ) { @@ -69,6 +70,18 @@ return( FAILED ); } + /* Fixing problem when NAMEINARG was specified after set server_args */ + argv = scp->sc_server_argv; + if (argv != NULL && *argv == NULL) { + + while (argv[1] != NULL) { + argv[0] = argv[1]; + argv++; + } + *argv = NULL; + } + + return ( OK ); }
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