aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-11 17:20:00 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-11 17:20:00 +0000
commit8bcd78dd99c17ea33daf8fb670dc9489cb24168f (patch)
treeaf4e797eef0a65f4e3dba94b325da0ec08452d36 /shell/ash.c
parenteac7a041006fbc2b18d2bbf26547d0780369fa5e (diff)
downloadbusybox-w32-8bcd78dd99c17ea33daf8fb670dc9489cb24168f.tar.gz
busybox-w32-8bcd78dd99c17ea33daf8fb670dc9489cb24168f.tar.bz2
busybox-w32-8bcd78dd99c17ea33daf8fb670dc9489cb24168f.zip
Trailing whitespace removal over entire tree
git-svn-id: svn://busybox.net/trunk/busybox@17252 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 10217fe2f..95928e992 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -2036,7 +2036,7 @@ static int is_safe_applet(char *name)
2036{ 2036{
2037 /* It isn't a bug to have non-existent applet here... */ 2037 /* It isn't a bug to have non-existent applet here... */
2038 /* ...just a waste of space... */ 2038 /* ...just a waste of space... */
2039 static const char safe_applets[][8] = { 2039 static const char safe_applets[][8] = {
2040 "[" 2040 "["
2041 USE_AWK (, "awk" ) 2041 USE_AWK (, "awk" )
2042 USE_CAT (, "cat" ) 2042 USE_CAT (, "cat" )
@@ -3763,7 +3763,7 @@ tryexec(char *cmd, char **argv, char **envp)
3763 struct BB_applet *a; 3763 struct BB_applet *a;
3764 int argc = 0; 3764 int argc = 0;
3765 char **c; 3765 char **c;
3766 3766
3767 if (strchr(cmd, '/') == NULL 3767 if (strchr(cmd, '/') == NULL
3768 && (a = find_applet_by_name(cmd)) != NULL 3768 && (a = find_applet_by_name(cmd)) != NULL
3769 && is_safe_applet(cmd) 3769 && is_safe_applet(cmd)