version 1.225, 2010/08/31 11:54:45 |
version 1.226, 2010/10/05 05:13:18 |
|
|
pid_t pid; |
pid_t pid; |
char *shell, strport[NI_MAXSERV]; |
char *shell, strport[NI_MAXSERV]; |
|
|
if ((shell = getenv("SHELL")) == NULL) |
if ((shell = getenv("SHELL")) == NULL || *shell == '\0') |
shell = _PATH_BSHELL; |
shell = _PATH_BSHELL; |
|
|
/* Convert the port number into a string. */ |
/* Convert the port number into a string. */ |
|
|
args == NULL || !*args) |
args == NULL || !*args) |
return (1); |
return (1); |
|
|
if ((shell = getenv("SHELL")) == NULL) |
if ((shell = getenv("SHELL")) == NULL || *shell == '\0') |
shell = _PATH_BSHELL; |
shell = _PATH_BSHELL; |
|
|
pid = fork(); |
pid = fork(); |