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

Denys Vlasenko vda.linux at googlemail.com
Wed Apr 12 18:17:08 UTC 2017


On Tue, Apr 11, 2017 at 11:58 PM, Kaarle Ritvanen
<kaarle.ritvanen at datakunkku.fi> wrote:
> Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen at datakunkku.fi>
> ---
>  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;
>  static void
>  shellexec(char **argv, const char *path, int idx)
>  {
> -       char *cmdname;
> +       char *cmdpath;

This would introduce gratuitous difference from dash source.
Let's not do that. dash often have patches worth backporting,
and every difference makes backporting harder.


More information about the busybox mailing list