Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Jerome Guitton <guitton@adacore.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA/mingw32] stdin redirection
Date: Thu, 19 Apr 2007 13:08:00 -0000	[thread overview]
Message-ID: <20070419122637.GA26372@caradoc.them.org> (raw)
In-Reply-To: <20070419122008.GA27914@adacore.com>

On Thu, Apr 19, 2007 at 02:20:08PM +0200, Jerome Guitton wrote:
> +  if (GetFileType ((HANDLE) _get_osfhandle (fd)) == FILE_TYPE_DISK)

Hey neat, I didn't know that was there.

> +      SetEvent (state->read_event);
> +      continue;
> +
> +      /* Delay 10ms before checking again, but allow the stop event
> +	 to wake us.  */
> +      if (WaitForSingleObject (state->stop_select, 10) == WAIT_OBJECT_0)
> +	continue;
> +
> +      goto retry;

I assume you meant to delete the code at the bottom and the retry
label.  OK with that change.


-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2007-04-19 12:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-19 12:26 Jerome Guitton
2007-04-19 13:08 ` Daniel Jacobowitz [this message]
2007-04-19 14:16   ` Jerome Guitton

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=20070419122637.GA26372@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=guitton@adacore.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