diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-03-22 15:19:42 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-03-22 15:19:42 +0100 |
commit | d6a2fa87b8e6b131b1ad52f9f586605db95607ed (patch) | |
tree | 2264e60d4b96d6abc633fdf6658e5c0d47154f2c /package/busybox/busybox-1.16.0-hush.patch | |
parent | d6bb69459846c70ae622827454085ca94fb7b350 (diff) |
busybox: additional 1.16.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.16.0-hush.patch')
-rw-r--r-- | package/busybox/busybox-1.16.0-hush.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.16.0-hush.patch b/package/busybox/busybox-1.16.0-hush.patch new file mode 100644 index 000000000..7847cc578 --- /dev/null +++ b/package/busybox/busybox-1.16.0-hush.patch @@ -0,0 +1,14 @@ +diff -urpN busybox-1.16.0/shell/hush.c busybox-1.16.0-hush/shell/hush.c +--- busybox-1.16.0/shell/hush.c 2010-01-25 17:51:24.000000000 +0100 ++++ busybox-1.16.0-hush/shell/hush.c 2010-03-22 01:46:39.000000000 +0100 +@@ -3568,7 +3568,9 @@ static void execvp_or_die(char **argv) + { + debug_printf_exec("execing '%s'\n", argv[0]); + sigprocmask(SIG_SETMASK, &G.inherited_set, NULL); +- execvp(argv[0], argv); ++ /* if FEATURE_SH_STANDALONE, "exec <applet_name>" should work, ++ * therefore we should use BB_EXECVP, not execvp */ ++ BB_EXECVP(argv[0], argv); + bb_perror_msg("can't execute '%s'", argv[0]); + _exit(127); /* bash compat */ + } |