[git commit] vi: fix regex search compilation error

Denys Vlasenko vda.linux at googlemail.com
Wed Jul 14 14:23:45 UTC 2021


Applied, thanks

On Tue, Jul 13, 2021 at 6:24 PM Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
>
> commit: https://git.busybox.net/busybox/commit/?id=e6f4145f2961bfd500214ef1fcf07543ffacb603
> branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
>
> Building with FEATURE_VI_REGEX_SEARCH enabled fails.
>
> Signed-off-by: Ron Yorston <rmy at pobox.com>
> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
> ---
>  editors/vi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/editors/vi.c b/editors/vi.c
> index 5c601c759..a4b958734 100644
> --- a/editors/vi.c
> +++ b/editors/vi.c
> @@ -2684,7 +2684,7 @@ static char *expand_args(char *args)
>  static char *strchr_backslash(const char *s, int c)
>  {
>         while (*s) {
> -               if (*s == c) {
> +               if (*s == c)
>                         return (char *)s;
>                 if (*s == '\\')
>                         if (*++s == '\0')
> _______________________________________________
> busybox-cvs mailing list
> busybox-cvs at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox-cvs


More information about the busybox mailing list