It is possible for a multibyte string to have NBYTES = NCHARS.
The clean fix is for the args to allocate_string_data to indicate
explicitly whether the string is unibyte or multibyte.

This could be done with another argument, or by specifying -1
for NBYTES when the string is unibyte.


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to