public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Biener <richard.guenther@gmail.com>
To: "Martin Liška" <mliska@suse.cz>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] jobserver: detect properly O_NONBLOCK
Date: Mon, 22 Aug 2022 15:44:20 +0200	[thread overview]
Message-ID: <CAFiYyc14JAWXWndddg4srX78kckE2iGx4S9Q-qWZeYKiHE4rtQ@mail.gmail.com> (raw)
In-Reply-To: <8bc15a0b-83a5-2ef0-028a-ba3e8acc6d6a@suse.cz>

On Mon, Aug 22, 2022 at 11:06 AM Martin Liška <mliska@suse.cz> wrote:
>
> On 8/19/22 09:44, Richard Biener wrote:
> > libstdc++ uses
> >
> > # For Networking TS.
> > AC_CHECK_HEADERS([fcntl.h sys/ioctl.h sys/socket.h sys/uio.h poll.h
> > netdb.h arpa/inet.h netinet/in.h netinet/tcp.h])
> > AC_CHECK_DECL(F_GETFL,,,[#include <fcntl.h>])
> > AC_CHECK_DECL(F_SETFL,,,[#include <fcntl.h>])
> > if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
> >   AC_CHECK_DECL(O_NONBLOCK,,,[#include <fcntl.h>])
> > fi
> >
> > I'd rather not invent sth fancy with /dev/null (that seems very unixy)
>
> All right, there's v2.
>
> What do you think?

OK.

> Martin

      reply	other threads:[~2022-08-22 13:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-18 12:42 Martin Liška
2022-08-19  7:44 ` Richard Biener
2022-08-22  9:06   ` Martin Liška
2022-08-22 13:44     ` Richard Biener [this message]

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

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

  git send-email \
    --in-reply-to=CAFiYyc14JAWXWndddg4srX78kckE2iGx4S9Q-qWZeYKiHE4rtQ@mail.gmail.com \
    --to=richard.guenther@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=mliska@suse.cz \
    /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).