Fix the iterator, so that it ends before the '\0'.
[pspp] / lib / ChangeLog
index 394c5c97cc80a66557b42d7dc1307c56098abab6..6fc257347f52963c0d470da9a884d445c62f6a6a 100644 (file)
@@ -1,3 +1,10 @@
+2005-08-16  Bruno Haible  <bruno@clisp.org>
+
+       * strcasecmp.c (struct mbiter_multi): Remove at_end field.
+       (mbi_init): Update.
+       (mbi_avail, mbi_advance): Let the iteration end before the terminating
+       NUL byte, not after it.
+
 2005-08-16  Bruno Haible  <bruno@clisp.org>
 
        * mbchar.h (mb_cmp, mb_casecmp): Order the invalid characters after