Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Yao Qi <yao@codesourcery.com>, gdb-patches@sourceware.org
Subject: Re: RFC: close-on-exec internal file descriptors
Date: Wed, 24 Apr 2013 20:35:00 -0000	[thread overview]
Message-ID: <20130424152823.GA7683@host2.jankratochvil.net> (raw)
In-Reply-To: <871ua1qmc3.fsf@fleche.redhat.com>

On Tue, 23 Apr 2013 17:49:00 +0200, Tom Tromey wrote:
> 2013-04-23  Tom Tromey  <tromey@redhat.com>
> 
> 	* common/filestuff.c: Check USE_WIN32API before including
> 	sys/socket.h.
> 	(HAVE_F_GETFD): New define.
> 	(mark_cloexec): Check HAVE_F_GETFD.
> 	(gdb_open_cloexec): Change 'mode' to unsigned long.
> 	(gdb_socketpair_cloexec): Check HAVE_SOCKETPAIR.
> 	(gdb_pipe_cloexec): Check HAVE_PIPE.
> 	* common/filestuff.h (gdb_open_cloexec): Change 'mode' to unsigned
> 	long.

Just confirming it fixed the MinGW problem for me for both 32 and 64 bits.


Thanks,
Jan


      reply	other threads:[~2013-04-24 15:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-18 17:45 Tom Tromey
2012-12-18 22:12 ` Andreas Schwab
2012-12-19 14:53   ` Tom Tromey
2013-01-03 16:17     ` Tom Tromey
2013-04-22 23:55       ` Tom Tromey
2013-04-23  1:51         ` Tom Tromey
2013-05-01 14:47         ` Joel Brobecker
2013-05-06 18:53           ` Tom Tromey
2013-05-07  6:46             ` Joel Brobecker
2013-05-10 17:00               ` Tom Tromey
2013-04-23 15:45 ` Yao Qi
2013-04-24  2:45   ` Tom Tromey
2013-04-24 20:35     ` Jan Kratochvil [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=20130424152823.GA7683@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.com \
    --cc=yao@codesourcery.com \
    /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