unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Matt Wette <matt.wette@gmail.com>
To: Maxime Devos <maximedevos@telenet.be>, guile-devel@gnu.org
Cc: 27782@debbugs.gnu.org
Subject: bug#27782: patch for mmap and friends
Date: Sat, 14 Jan 2023 15:46:20 -0800	[thread overview]
Message-ID: <ea37b600-0b7f-9e20-834b-0e04ee2655ac__31228.4036817559$1673740036$gmane$org@gmail.com> (raw)
In-Reply-To: <23890f8a-8891-d888-b289-c0d06304fff1@telenet.be>



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






  parent reply	other threads:[~2023-01-14 23:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1ee846ab-e9ce-d616-94dd-0056e4b840f9@gmail.com>
2023-01-14  1:00 ` bug#27782: patch for mmap and friends Matt Wette
2023-01-14 15:18 ` Maxime Devos
     [not found] ` <445d3567-9bbf-487b-f338-8a16903e9e62@telenet.be>
     [not found]   ` <5fda49f2-6e23-9a53-85d2-c1cc38cf0cce@gmail.com>
     [not found]     ` <c7e20254-6387-00c4-ea15-f3ed64668923@gmail.com>
     [not found]       ` <23890f8a-8891-d888-b289-c0d06304fff1@telenet.be>
2023-01-14 23:46         ` Matt Wette [this message]
2017-07-21 13:39 bug#27782: [wishlist] scheme level mmap Matt Wette
2023-01-14  0:49 ` bug#27782: patch for mmap and friends Matt Wette

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ea37b600-0b7f-9e20-834b-0e04ee2655ac__31228.4036817559$1673740036$gmane$org@gmail.com' \
    --to=matt.wette@gmail.com \
    --cc=27782@debbugs.gnu.org \
    --cc=guile-devel@gnu.org \
    --cc=maximedevos@telenet.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).