On Wed, 12 Apr 2017, Denys Vlasenko wrote:
> I committed a change which implements "exec -a"
> in a slightly different way. Please try current git.
Works for me. Thanks a lot!
BR,
Kaarle
___
busybox mailing list
busybox@busybox.net
On Tue, Apr 11, 2017 at 11:58 PM, Kaarle Ritvanen
wrote:
> -execcmd(int argc UNUSED_PARAM, char **argv)
> +execcmd(int argc, char **argv)
> {
> - if (argv[1]) {
> + int opt;
> + char *argv0 = NULL;
> + char *cmdname = NULL;
> +
> +
On Wed, 12 Apr 2017, Kang-Che Sung wrote:
> Back in January 2017, a person named Patrick Pief has suggested a similar
> patch
> to add "exec -a" support:
>
> http://lists.busybox.net/pipermail/busybox/2017-January/085146.html
>
> Is your patch same as his or is there any difference?
My patch
Back in January 2017, a person named Patrick Pief has suggested a similar patch
to add "exec -a" support:
http://lists.busybox.net/pipermail/busybox/2017-January/085146.html
Is your patch same as his or is there any difference?
___
busybox mailing list
Signed-off-by: Kaarle Ritvanen
---
shell/ash.c | 42 --
1 file changed, 32 insertions(+), 10 deletions(-)
diff --git a/shell/ash.c b/shell/ash.c
index 58ae950..b799b85 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -7744,9