On 2025-01-04 09:25, Bruno Haible wrote:
                if (!mbi_avail (iter))
-                abort ();
+                /* We can get here due to incomplete multibyte characters.  */
+                return false;
                mbi_advance (iter);

If the string ends in an incomplete sequence and the pattern is the empty string, won't this return false? Shouldn't the empty string be a suffix of any string?

Reply via email to