Re: Fun with shelves.

From: Joachim Schimpf <j.schimpf_at_icparc.ic.ac.uk>
Date: Tue 25 Feb 2003 05:13:56 PM GMT
Message-ID: <3E5BA454.2D383CAF@icparc.ic.ac.uk>
josh singer wrote:
> 
> Hi folks,
> 
> I've noticed some very wrong looking behaviour with shelves, with v5.4 #41
> running on Solaris. Below, variable Y is bound by the time it is put in the
> shelf, using index 0 to set the whole shelf. Not only does shelf_get
> retrieve the same argument unbound, but in the trace we can see that by the
> time the call to shelf_set exits, it has managed to unbind Y! Mummy! Help!
> 
> On the bright side, there seems to be a workaround if you set the slots
> individually. See further below.


Thanks Josh,

This is going to be fixed from build 5.5 #66.
It was caused by a missing dereferencing and indeed only
affected the case where the whole shelf is set using index 0.

Cheers,
Joachim
-- 
 Joachim Schimpf              /             phone: +44 20 7594 8187
 IC-Parc                     /      mailto:J.Schimpf@imperial.ac.uk
 Imperial College London    /    http://www.icparc.ic.ac.uk/eclipse
Received on Tue Feb 25 17:13:57 2003

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:20 PM GMT GMT