public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3685977
)
ssh: kill is no longer expensive with tiny atoi
author
Alan Cox
<alan@linux.intel.com>
Sat, 13 Jun 2015 21:39:34 +0000
(22:39 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 13 Jun 2015 21:39:34 +0000
(22:39 +0100)
Applications/util/ssh.c
patch
|
blob
|
history
diff --git
a/Applications/util/ssh.c
b/Applications/util/ssh.c
index
16b700c
..
2617c2f
100644
(file)
--- 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)];