Add comment to supplement my last commit.

Requested by:  obrien
This commit is contained in:
murray 2002-04-07 10:40:31 +00:00
parent 88f8ddca24
commit c55f9a8b7a
2 changed files with 16 additions and 0 deletions

View File

@ -678,6 +678,14 @@ configXSetup(dialogMenuItem *self)
vsystem("ldconfig -aout /usr/lib/aout /usr/lib/compat/aout /usr/local/lib/aout /usr/X11R6/lib/aout");
vsystem("/sbin/ifconfig lo0 127.0.0.1");
/*
* execcmd may have been passed in as a command name with
* arguments. Therefore, before determining if it is suitable for
* execution, we must split off the filename component from the
* command line arguments.
*/
execcmd = string_concat("/usr/X11R6/bin/", config);
execfile = strdup(execcmd);
if ((tmp = strchr(execfile, ' ')))

View File

@ -678,6 +678,14 @@ configXSetup(dialogMenuItem *self)
vsystem("ldconfig -aout /usr/lib/aout /usr/lib/compat/aout /usr/local/lib/aout /usr/X11R6/lib/aout");
vsystem("/sbin/ifconfig lo0 127.0.0.1");
/*
* execcmd may have been passed in as a command name with
* arguments. Therefore, before determining if it is suitable for
* execution, we must split off the filename component from the
* command line arguments.
*/
execcmd = string_concat("/usr/X11R6/bin/", config);
execfile = strdup(execcmd);
if ((tmp = strchr(execfile, ' ')))