On Mon, 09 Aug 2021 21:57:00 +0100 Ron Yorston <[email protected]> wrote:
> Or how about this?
> 
> Ron
> ---
>  util-linux/rev.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/util-linux/rev.c b/util-linux/rev.c
> index d439b4da8..63b005c67 100644
> --- a/util-linux/rev.c
> +++ b/util-linux/rev.c
> @@ -109,6 +109,7 @@ int rev_main(int argc UNUSED_PARAM, char **argv)
>                       strrev(buf, strlen(buf));
>  #endif
>                       fputs_stdout(buf);
> +                     pos = 0;

Yeah... that also seems to fix it, and is obviously less intrusive/crazy than
the thing I sent.

-Clayton

Attachment: signature.asc
Description: PGP signature

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to