bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27782: patch for mmap and friends


From: Matt Wette
Subject: bug#27782: patch for mmap and friends
Date: Sat, 14 Jan 2023 15:46:20 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2



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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]