home *** CD-ROM | disk | FTP | other *** search
-
- I believe the following fix repairs the problem in lisplib/array.l
- (I think this only affects you if you are on a 68k)
- ---
-
- in function *array, towards the bottom change:
-
- ; if type is fixnum or flonum
- ; we must intialize to 0 or 0.0
- (cond ((or (and (eq 'fixnum type)
- (setq rtype 0))
- (and (eq 'flonum type)
- (setq rtype 0.0))
- (and (or (status feature 68k)
- (status feature for-68k))
- (progn (setq rtype nil) t)))
- (do ((i size))
- ((zerop i))
- (set (arrayref tname (setq i (1- i))) rtype))))
- to be:
-
- ; if type is fixnum or flonum
- ; we must intialize to 0 or 0.0
- (cond ((or (and (or (eq 'fixnum type)(eq 'fixnum-block type))
- (setq rtype 0))
- (and (or (eq 'flonum type)(eq 'flonum-block type))
- (setq rtype 0.0))
- (and (or (status feature 68k)
- (status feature for-68k))
- (progn (setq rtype nil) t)))
- (do ((i size))
- ((zerop i))
- (store (funcall tname (setq i (1- i))) rtype))))
-
- The main problem being that the (status) call was testing true.
- Without changing the SET to a STORE I was still having troubles,
- so I changed that also. Flames welcome, not sure I understand everything
- going on here (yet.)
-
- -Barry Shein, Boston University
-
- P.S. typical apologies if this has all been solved before.
- (while you are in there you might want to fix the spelling of 'intialize')
-
-
-