unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw@netris.org>
Cc: guile-devel@gnu.org
Subject: Re: [PATCH] Bindings for ‘sendfile’
Date: Mon, 25 Mar 2013 13:55:38 +0100	[thread overview]
Message-ID: <87620f4p11.fsf@gnu.org> (raw)
In-Reply-To: <87txo1bd8c.fsf@tines.lan> (Mark H. Weaver's message of "Sun, 24 Mar 2013 01:04:03 -0400")

Mark H Weaver <mhw@netris.org> skribis:

> The sendfile commit (fbac7c6113056bc6ee85996b10bdc08325c742a5) has
> caused the following build failures on Hydra.

Thanks for the notification.

> On GNU/Linux: (both i686-linux and x86_64-linux without threads)
>
> <http://hydra.nixos.org/build/4463700/log/raw>
> <http://hydra.nixos.org/build/4463695/log/raw>
>
> checking sys/sendfile.h usability... yes
> checking sys/sendfile.h presence... yes
> checking for sys/sendfile.h... yes
> [...]
> checking for sendfile... yes
>
> ERROR: filesys.test: sendfile: pipe - arguments: ((system-error #f "~A" ("Function not implemented") (38)))
> ERROR: filesys.test: sendfile: pipe with offset - arguments: ((system-error #f "~A" ("Function not implemented") (38)))

Oops, fixed by 45417ab.

> On FreeBSD: (x86_64-freebsd without threads)

[...]

> On Darwin: (x86_64-darwin, both with and without threads)
>
> <http://hydra.nixos.org/build/4463702/log/raw>
> <http://hydra.nixos.org/build/4463698/log/raw>
>
> checking sys/sendfile.h usability... no
> checking sys/sendfile.h presence... no
> checking for sys/sendfile.h... no
> [...]
> checking for sendfile... yes

It turns out that the BSDs have their own flavor:

  http://www.unix.com/man-page/FreeBSD/2/sendfile/
  https://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man2/sendfile.2.html

We should support it, eventually, but for now commit 11ed427 just makes
sure we don’t mistakenly attempt to use it.

Thanks,
Ludo’.



  reply	other threads:[~2013-03-25 12:55 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-20 22:21 [PATCH] Bindings for ‘sendfile’ Ludovic Courtès
2013-03-21  0:17 ` Noah Lavine
2013-03-21  9:15   ` Ludovic Courtès
2013-03-21 10:04     ` Andrew Gaylard
2013-03-21 15:39     ` Noah Lavine
2013-03-21  3:45 ` Nala Ginrut
2013-03-21  4:50 ` Mark H Weaver
2013-03-21  5:24   ` Mark H Weaver
2013-03-21  9:40   ` Ludovic Courtès
2013-03-21  9:49     ` Andy Wingo
2013-03-21 10:10       ` Ludovic Courtès
2013-03-22 19:22     ` Mark H Weaver
2013-03-22 21:27       ` Ludovic Courtès
2013-03-24  5:04         ` Mark H Weaver
2013-03-25 12:55           ` Ludovic Courtès [this message]
2013-04-07 19:53     ` Ludovic Courtès
2013-04-09  8:33       ` Thien-Thi Nguyen
2013-04-09 15:02         ` Ludovic Courtès
2013-04-09 20:34           ` Thien-Thi Nguyen
2013-04-10 11:26             ` Mark H Weaver
2013-04-14 10:48               ` Thien-Thi Nguyen
2013-04-16 16:31                 ` Ludovic Courtès
2013-04-16 20:14                   ` Thien-Thi Nguyen
2013-04-17 12:52                     ` Ludovic Courtès
2013-04-17 15:18                       ` Thien-Thi Nguyen
2013-04-17 16:27                         ` Ludovic Courtès
2013-04-18  6:58                           ` Thien-Thi Nguyen
2013-04-10 20:56             ` Ludovic Courtès
2013-04-14 10:52               ` Thien-Thi Nguyen
2013-04-07 21:51   ` Ludovic Courtès

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=87620f4p11.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-devel@gnu.org \
    --cc=mhw@netris.org \
    /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).