On 1/14/23 2:42 PM, Maxime Devos wrote:
{ /* Use the fd of the port under clobber protection from concurrency. As scm_dynwind_acquire_port assumes that FILE is a port, check that first. */ SCM_VALIDATE_PORT (SCM_ARG5, file); scm_dynwind_acquire_port (file); c_fd = scm_fileno (file); }
Thanks. I'll try this, modulo update to scm_to_int (scm_fileno (file)). Matt