bug#27782: patch for mmap and friends
Matt Wette <[email protected]>
| Newsgroups | gmane.lisp.guile.bugs |
|---|---|
| Message-ID | <ea37b600-0b7f-9e20-834b-0e04ee2655ac__31228.4036817559$1673740036$gmane$org@gmail.com> |
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