From xemacs-m  Fri Feb  7 10:02:21 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA08057
	for <xemacs-beta@xemacs.org>; Fri, 7 Feb 1997 10:02:19 -0600 (CST)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id RAA07181; Fri, 7 Feb 1997 17:02:17 +0100 (MET)
Sender: hniksic@public.srce.hr
To: xemacs-beta@xemacs.org
Subject: Re: 20.0 --with-mule segfaults when viewing Japanese
References: <yviasp3digdf.fsf@atreides.mindspring.com> 	<199702041227.NAA17114@sen2.ida.liu.se> 	<kig6808gqbw.fsf@jagor.srce.hr> 	<199702070342.TAA14213@xemacs.eng.sun.com> <199702071422.PAA29298@sen2.ida.liu.se>
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nAEL1M(".[qvI#a2E
 6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/XvhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 07 Feb 1997 17:02:16 +0100
In-Reply-To: David Byers's message of Fri, 7 Feb 1997 15:22:40 +0100
Message-ID: <kighgjo4nav.fsf@jagor.srce.hr>
Lines: 21
X-Mailer: Gnus v5.4.11/XEmacs 19.14

David Byers <davby@ida.liu.se> writes:

> The real bug in this case is that display tables _by_design_ only can
> handle characters 0-255. Given that this design is intentional and
> that display tables are supposed to work even in an environment with
> multi-byte characters, and it seems to be that way, the patch I sent
> fixes a very real bug.
[...]
> In general, I agree with your comments. Just not in this case.

I believe Martin tried to say that the real fix would be to find the
*particular* place accessing the display table erroneously, and fixing
that, instead of adding bounds checking in *all* cases.

But, as it would probably take too much time and energy to do that,
your fix is perfectly valid as it is.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
The end of the world is coming...  SAVE YOUR BUFFERS!

