In article <[EMAIL PROTECTED]>, Stefan Monnier <[EMAIL PROTECTED]> writes:
>>  --- 1977,1983 ----
>>      SDATA_NBYTES (data) = nbytes;
>>    #endif
s->  size = nchars;
>>  !   s->size_byte = nchars != nbytes ? nbytes : -1;
s->  data[nbytes] = '\0';
>>    #ifdef GC_CHECK_STRING_OVERRUN
>>      bcopy (string_overrun_cookie, (char *) data + needed,

> This doesn't look like the right fix.
> Normally, the caller would instead use `STRING_SET_UNIBYTE' after the call
> (or rather calls one of make_foo_string which does it for him) if needed.

I agree.  And, I think we can solve the current problem by
the change I wrote in the previous mail.

---
Ken'ichi HANDA
[EMAIL PROTECTED]


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

Reply via email to