Thanks for the fix Bil! (I see that Snd 22.0 contains the call_setter fix)
Also, pipe-chars without catch seems cleaner, thanks!
And happy new year!
On Fri, 31 Dec 2021 at 21:22, wrote:
>
> Here's a change that might be interesting. Change call_setter (ca line
> 46598) to:
>
> static
Here's a change that might be interesting. Change call_setter (ca line
46598) to:
static s7_pointer call_setter(s7_scheme *sc, s7_pointer slot, s7_pointer
new_value)
{
s7_pointer func = slot_setter(slot);
if (!is_any_procedure(func))
return(new_value);
if (is_c_function(func))
Thanks for the very clear bug report! I don't
immediately see what's causing it -- will poke
at it tomorrow.
___
Cmdist mailing list
Cmdist@ccrma.stanford.edu
https://cm-mail.stanford.edu/mailman/listinfo/cmdist
Hi Bil,
I'm attaching a demo program demonstrating the bug. It involves hooks,
setters, call-with-input-file, call-with-output-string. Not sure which
is the culprit.
- g++ ./main.cpp s7.o -ldl -I.
- ./a.out
As main.scm is, s7_load_file result is the output of the setter
triggered by (set!