[PATCH] vi: fix regex search compilation error
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Tue Jul 13 16:24:17 UTC 2021
On Tue, 13 Jul 2021 16:35:43 +0100
Ron Yorston <rmy at pobox.com> wrote:
> Building with FEATURE_VI_REGEX_SEARCH enabled fails.
Applied.
thanks,
>
> Signed-off-by: Ron Yorston <rmy at pobox.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')
More information about the busybox
mailing list