[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coding system conversion error

From: Kenichi Handa
Subject: Re: Coding system conversion error
Date: Sat, 12 Feb 2005 11:01:17 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3.50 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Stefan Monnier <address@hidden> writes:
>>  --- 1977,1983 ----
>>      SDATA_NBYTES (data) = nbytes;
>>    #endif
s->  size = nchars;
>>  !   s->size_byte = nchars != nbytes ? nbytes : -1;
s->  data[nbytes] = '\0';
>>      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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]