[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange es bug



> Today I discovered this strange behaviour:
> 	; fn-a = echo a
> 	; b = <={$&whatis a} b
> 	; echo $fn-a
> 	echo a b
> This is on a sun SPARCstation ELC, and es is compiled with gcc.  Do
> people get this on other platforms, too?

they almost certainly do.  it's an 0.84 bug.  at that time, responsibility
for copying lists was shifting around.  i fixed the problems soon after
0.84 was released:

	; fn-a = echo a
	; b = <={$&whatis a} b
	; echo $fn-a
	echo a
	; 

i thought that this change had made it into 0.84, but i guess not.

for now, if you want a quick fix, have the nCall operation in glom.c
do a listcopy() of the value it assigns to list before breaking.

paul