Veto. Instead, fix buffer_insert_1() and Finsert_markers() -- they need a call to
CHECK_CHAR_COERCE_INT() inserted.
Yoshiki Hayashi wrote:
SL Baur <steve(a)xemacs.org> writes:
> Yoshiki Hayashi <t90553(a)m.ecc.u-tokyo.ac.jp> writes in
xemacs-beta(a)xemacs.org:
>
> > xemacs -vanilla
> > (insert 8000)
>
> Ouch!
I finally traced this bug and fixed it.
Integer 8000 is in the range of private charset. It is
usually not defined, so every integer around 8000 can cause
core dump.
XEmacs 21.1 doesn't crash since it does not usually have
error checking code. However, this patch is recommended for
XEmacs 21.1 as it goes to hard uninterruptible loop with
(insert 8000).
1999-11-08 Yoshiki Hayashi <t90553(a)mail.ecc.u-tokyo.ac.jp>
* mule-charset.h (breakup_char_1): Check whether
charset exists or not.
------------------------------------------------------------------------
Name: mule-charset.h.diff
mule-charset.h.diff Type: Plain Text (text/plain)
Encoding: 7bit
------------------------------------------------------------------------
--
Yoshiki Hayashi