From: Jerome Guitton <guitton@adacore.com>
To: gdb-patches@sources.redhat.com
Subject: [RFA/mingw32] stdin redirection
Date: Thu, 19 Apr 2007 12:26:00 -0000 [thread overview]
Message-ID: <20070419122008.GA27914@adacore.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 455 bytes --]
Related to this discussion:
http://sourceware.org/ml/gdb/2007-04/msg00063.html
It appeared that we should not use WaitForMultipleObjects on a file
handle. Here is a patch (inspired from the way GDB deals with pipes
on mingw32) to fix this issue.
OK to apply?
2007-04-19 Jerome Guitton <guitton@adacore.com>
* ser-mingw.c (fd_is_file): New function.
(file_select_thread): New function.
(ser_console_wait_handle): Add special handling for files.
[-- Attachment #2: ser-mingw.c.dif --]
[-- Type: video/dv, Size: 2512 bytes --]
next reply other threads:[~2007-04-19 12:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-19 12:26 Jerome Guitton [this message]
2007-04-19 13:08 ` Daniel Jacobowitz
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=20070419122008.GA27914@adacore.com \
--to=guitton@adacore.com \
--cc=gdb-patches@sources.redhat.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