Hello Jan,
do you need to read the data from the file descriptor in a Scheme
program? If so, I guess you can make a wrapper procedure [1] that uses
'scm_fdes_to_port' from 'libguile.h' to convert your file descriptor to
a SCM port and return the port into the Scheme world.
Here's the description
Oh sorry, there was a mistake in my previous mail. 'scm_i_fdes_to_port'
is an internal procedure, but 'scm_fdes_to_port' is defined as Guile API
and should be available to Guile programs. Here's its definition:
--8<---cut here---start->8---
SCM
scm_fdes_to_por
Hello Ludovic,
thanks for pointing that out. IIRC, I saw this kind of errors during
testing but I thought I fixed them. What Guile-SSH version do you use?
Here's 'free_session' procedure from Guile-SSH version 0.10.0:
--8<---cut here---start->8---
size_t
fre
Hello Ludovic and David,
thanks for all the comments on the smob freeing callbacks. Apparently I
misread the documentation so the bug was introduced. I've changed the
callback procedures as was suggested; the patches included in Guile-SSH
version 0.10.1 released a few moments ago.
- Artyom
--