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! (state 'file) "foo.txt") instead of 'ok (at the end
of the file)

Thanks,
Christos Vagias

<<attachment: bug-hooks.zip>>

_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to