GNU bug report logs - #27782
[wishlist] scheme level mmap

Previous Next

Package: guile;

Reported by: Matt Wette <matt.wette <at> gmail.com>

Date: Fri, 21 Jul 2017 13:40:02 UTC

Severity: wishlist

Full log


Message #53 received at 27782 <at> debbugs.gnu.org (full text, mbox):

From: Matt Wette <matt.wette <at> gmail.com>
To: Maxime Devos <maximedevos <at> telenet.be>, guile-devel <at> gnu.org
Cc: 27782 <at> debbugs.gnu.org
Subject: Re: patch for mmap and friends
Date: Sat, 14 Jan 2023 15:46:20 -0800

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





This bug report was last modified 2 years and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.