From: Alan Cox Date: Sat, 13 Jun 2015 21:39:34 +0000 (+0100) Subject: ssh: kill is no longer expensive with tiny atoi X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=6bf83410c923a4fd8a506d26de04ac5fe3c28fe7;p=FUZIX.git ssh: kill is no longer expensive with tiny atoi --- diff --git a/Applications/util/ssh.c b/Applications/util/ssh.c index 16b700c8..2617c2f8 100644 --- a/Applications/util/ssh.c +++ b/Applications/util/ssh.c @@ -307,7 +307,6 @@ int main(int argc, char *argval[]) else lastfg = -1; } -#ifdef SSH_EXPENSIVE /* Check for User request to kill a process */ else if (strcmp(cmd, "kill") == 0) { if (arg[0][0] == '-') { @@ -327,6 +326,7 @@ int main(int argc, char *argval[]) perror("kill"); } } +#ifdef SSH_EXPENSIVE else if (strcmp(cmd, "pwd") == 0) { if (getcwd(buf, 128)){ char *ptr=&buf[strlen(buf)];