Return to ssh-agent.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.159, 2008/06/28 14:05:15 | version 1.160, 2009/03/23 08:31:19 | ||
---|---|---|---|
|
|
||
if (ac == 0 && !c_flag && !s_flag) { | if (ac == 0 && !c_flag && !s_flag) { | ||
shell = getenv("SHELL"); | shell = getenv("SHELL"); | ||
if (shell != NULL && | if (shell != NULL && | ||
strncmp(shell + strlen(shell) - 3, "csh", 3) == 0) | strncmp(shell + MAX(strlen(shell) - 3, 0), "csh", 3) == 0) | ||
c_flag = 1; | c_flag = 1; | ||
} | } | ||
if (k_flag) { | if (k_flag) { |