From xemacs-m  Tue Feb 25 22:44:29 1997
Received: from draco.jsk.t.u-tokyo.ac.jp (draco.jsk.t.u-tokyo.ac.jp [133.11.96.217])
	by xemacs.org (8.8.5/8.8.5) with SMTP id WAA12359
	for <xemacs-beta@xemacs.org>; Tue, 25 Feb 1997 22:44:24 -0600 (CST)
Received: from localhost (hajime@localhost) by draco.jsk.t.u-tokyo.ac.jp (8.6.12+2.5Wb7/3.4Wbeta6-95083023) with SMTP id NAA00774 for <xemacs-beta@xemacs.org>; Wed, 26 Feb 1997 13:42:52 +0900
From: Hajime Saitou <hajime@jsk.t.u-tokyo.ac.jp>
Message-Id: <199702260442.NAA00774@draco.jsk.t.u-tokyo.ac.jp>
X-Authentication-Warning: draco.jsk.t.u-tokyo.ac.jp: Host localhost didn't use HELO protocol
To: xemacs-beta@xemacs.org
Subject: [XEmacs-20.1-b1] mule-wnnfns.c and DEC Alpha (OSF)
Date: Wed, 26 Feb 97 13:42:51 +0900


I just tried compiling XEmacs-20.1-b1 on a DEC Alpha and had to make
2 changes to mule-wnnfns.c for it to compile. I haven't done any
extensive checking yet.

First was mule-wnnfns.c line 907

Changed
------------------------------
  if ((int)(info_buf =  jl_word_info (wnnfns_buf[snum],
				      XINT (no), XINT (serial))) <= 0) 
------------------------------
to
------------------------------
#ifdef OSF1
  if ((long)(info_buf =  jl_word_info (wnnfns_buf[snum],
				      XINT (no), XINT (serial))) <= 0) 
#else
  if ((int)(info_buf =  jl_word_info (wnnfns_buf[snum],
				      XINT (no), XINT (serial))) <= 0) 
#endif
------------------------------

This (I think) is purely cosmetic.

The second was on mule-wnnfns.c line 2068

Changed
-------------------------------
     yes = call1(Qyes_or_no_p, EQ(str, Qnil));
-------------------------------

to
-------------------------------
     if(EQ(str, Qnil))
       yes = call1(Qyes_or_no_p, Qnil);
     else
       yes = call1(Qyes_or_no_p, Qt);
-------------------------------

The compiler said that type of the second argument to call1 was
invalid. 

I hope I haven't broken anything too badly. Will report if it doesn't
work.

Hajime Saito

