version 1.58, 2015/10/23 16:30:15 |
version 1.59, 2015/10/27 15:58:42 |
|
|
server_fill_environ(s, &env); |
server_fill_environ(s, &env); |
|
|
if (args->argc == 0) { |
if (args->argc == 0) { |
cmd = options_get_string(&s->options, "default-command"); |
cmd = options_get_string(s->options, "default-command"); |
if (cmd != NULL && *cmd != '\0') { |
if (cmd != NULL && *cmd != '\0') { |
argc = 1; |
argc = 1; |
argv = (char **)&cmd; |
argv = (char **)&cmd; |
|
|
else |
else |
size = (wp->sx * percentage) / 100; |
size = (wp->sx * percentage) / 100; |
} |
} |
hlimit = options_get_number(&s->options, "history-limit"); |
hlimit = options_get_number(s->options, "history-limit"); |
|
|
shell = options_get_string(&s->options, "default-shell"); |
shell = options_get_string(s->options, "default-shell"); |
if (*shell == '\0' || areshell(shell)) |
if (*shell == '\0' || areshell(shell)) |
shell = _PATH_BSHELL; |
shell = _PATH_BSHELL; |
|
|