[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:28:26 -0700 |
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.