[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] sed: fix minor multibyte parsing bug
From: |
Jim Meyering |
Subject: |
Re: [PATCH] sed: fix minor multibyte parsing bug |
Date: |
Sun, 3 Jul 2016 22:34:01 -0700 |
On Sun, Jul 3, 2016 at 10:28 PM, Jim Meyering <address@hidden> wrote:
> Another nit: comment formatting:
>
> +/* Return non-zero if CH is part of a valid multibyte sequence:
> +Either incomplete yet valid sequence (in case of a leading byte),
> +or the last byte of a valid multibyte sequence.
> +
> +Return zero in all other cases:
> + CH is a valid single-byte character (e.g. 0x01-0x7F in UTF-8 locales);
> + CH is an invalid byte in a multibyte sequence for the currentl locale,
> + CH is the NUL byte.
>
> The second and subsequent lines of that comment should have an added
> two-space prefix.
PS. with those addressed, you're welcome to push.