This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Array weirdness? [PATCH]


Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:

> Miroslav Silovic <silovic@zesoi.fer.hr> writes:
> 
> > (after printing a, it did show that a wasn't changed). This really
> > blocks SART for me, and while I'm going to look into Guile myself,
> 
> This is a serious bug.
> 
> > I wonder if anybody fixed this (or if anybody can point offhand to
> > what's been modified between 1.3.4 and 1.4).
> 
> It has not been fixed.  For changes, look into ChangeLog and NEWS.

I should've grepped for 'untested'. Or 'optimization'. ;)

The patch follows. Glad it was simple.

--- dl/guile-1.4/libguile/ramap.c       Mon Jun 12 22:08:15 2000
+++ guile-1.4/libguile/ramap.c  Thu Sep 21 14:30:48 2000
@@ -642,7 +642,7 @@
      ugly UNICOS macros (IVDEP) to go .
    */

-  if (SCM_EQ_P (src, dst))
+  if (SCM_EQ_P (src, dst) && i_s == i_d)
     return 1 ;

   switch SCM_TYP7


-- 
How to eff the ineffable?
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]