]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
mbiter-aux: Avoid gcc -Wcomment warning.
authorBruno Haible <bruno@clisp.org>
Tue, 21 Jul 2026 10:02:14 +0000 (12:02 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 21 Jul 2026 10:02:14 +0000 (12:02 +0200)
Reported by G. Branden Robinson in
<https://lists.gnu.org/archive/html/bug-gnulib/2026-07/msg00127.html>.

* lib/mbiter-aux.c (mbiter_is_utf8): Tweak comment.

ChangeLog
lib/mbiter-aux.c

index 57d0203c19120c2dab1a90fe218b32aac22215d3..bd8952adf79d4b7edd353d933789d06a49ac361c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2026-07-21  Bruno Haible  <bruno@clisp.org>
+
+       mbiter-aux: Avoid gcc -Wcomment warning.
+       Reported by G. Branden Robinson in
+       <https://lists.gnu.org/archive/html/bug-gnulib/2026-07/msg00127.html>.
+       * lib/mbiter-aux.c (mbiter_is_utf8): Tweak comment.
+
 2026-07-19  Bruno Haible  <bruno@clisp.org>
 
        physmem: On NetBSD, consider the available swap space.
index 125e02ebe355dd827bb1455c9aef9c02764d08e0..c534b32c44b432d10a16cddb44e6de7dcb15b47a 100644 (file)
@@ -29,7 +29,7 @@ mbiter_is_utf8 (int *cache)
   if (*cache < 0)
     {
       /* UTF-8 is the only encoding in use which maps the bytes 0xC4 0x80
-         to U+0100.  (See libiconv/tests/*.TXT for all the mapping tables.)
+         to U+0100.  (See libiconv/tests/?*.TXT for all the mapping tables.)
          We can assume that in this case, the char32_t encoding is Unicode
          (not platform-dependent like for other locale encodings).  */
       mbstate_t state; mbszero (&state);