[PATCH 0/3] ash: exec: -a option for setting zeroth arg

2017-04-11 Thread Kaarle Ritvanen
function old new delta execcmd 81 171 +90 shellexec251 258 +7 evalcommand 13641366 +2 ---

[PATCH 3/3] ash: exec: -a option for setting zeroth arg

2017-04-11 Thread Kaarle Ritvanen
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 +7744,9 @@ tryexec(IF_FEATURE_SH_S

[PATCH 2/3] ash: shellexec: rename variable

2017-04-11 Thread Kaarle Ritvanen
Signed-off-by: Kaarle Ritvanen --- shell/ash.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shell/ash.c b/shell/ash.c index 983f7b1..58ae950 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -7748,7 +7748,7 @@ static void shellexec(char **, const char *, int) NORETURN;

[PATCH 1/3] libbb: GETOPT_RESET macro

2017-04-11 Thread Kaarle Ritvanen
Signed-off-by: Kaarle Ritvanen --- include/libbb.h| 19 +++ libbb/getopt32.c | 8 +--- libbb/vfork_daemon_rexec.c | 28 ++-- runit/sv.c | 7 +-- shell/shell_common.c | 8 +--- util-linux/getopt.c

Re: [PATCH 1/3] libbb: GETOPT_RESET macro

2017-04-11 Thread Bartosz Gołaszewski
2017-04-11 23:58 GMT+02:00 Kaarle Ritvanen : > Signed-off-by: Kaarle Ritvanen > --- > include/libbb.h| 19 +++ > libbb/getopt32.c | 8 +--- > libbb/vfork_daemon_rexec.c | 28 ++-- > runit/sv.c | 7 +-- > shell