This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: Array weirdness? [PATCH]
- To: djurfeldt at nada dot kth dot se
- Subject: Re: Array weirdness? [PATCH]
- From: Miroslav Silovic <silovic at zesoi dot fer dot hr>
- Date: 21 Sep 2000 14:46:12 +0200
- Cc: guile-user at gnu dot org
- List-Id: General Guile related discussions <guile-user.gnu.org>
- References: <7eya0nys4b.fsf_-_@zesoi.fer.hr> <xy7pulz3tzl.fsf@mdj.nada.kth.se>
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