diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-11 17:20:00 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-11 17:20:00 +0000 |
commit | f7996f3b700a22797565e9aa57e251e6e3ac1e4d (patch) | |
tree | af4e797eef0a65f4e3dba94b325da0ec08452d36 /shell/ash.c | |
parent | 3821fb13ea404d243115ff8ec161273b62826513 (diff) | |
download | busybox-w32-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.tar.gz busybox-w32-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.tar.bz2 busybox-w32-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.zip |
Trailing whitespace removal over entire tree
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 4 |
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) |