From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
To: <gdb-patches@sourceware.org>
Subject: RE: [RFC] mingw port: Allow use of cvs GDB on Windows 95
Date: Fri, 04 Feb 2011 13:57:00 -0000 [thread overview]
Message-ID: <000001cbc473$6ef9d120$4ced7360$@muller@ics-cnrs.unistra.fr> (raw)
In-Reply-To: <001201cbc46c$5b95b100$12c11300$@muller@ics-cnrs.unistra.fr>
After more debugging on
a more recent windows system,
I now think that the close of the
file descriptor scb->fd in ser_windows_close
that was created using a call
to _open_osfhandle with the HANDLE associated with
the serial port also closes that handle.
If this is correct, it probably means
that the CloseHandle call that I added to
win95_cancelio is not even necessary...
Does anyone know if the fact
that calling close on the return value of _open_osfhandle
also close the real handle used in the call?
The windows online documentation didn't seem really
explicit...
Pierre Muller.
next prev parent reply other threads:[~2011-02-04 13:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-04 13:06 Compte ICS
2011-02-04 13:57 ` Pierre Muller [this message]
2011-02-05 20:38 ` [RFA] " Pierre Muller
2011-02-21 11:06 ` Joel Brobecker
2011-02-21 11:58 ` Pierre Muller
2011-02-21 12:52 ` Joel Brobecker
2011-02-21 13:35 ` Pierre Muller
2011-02-21 14:59 ` Joel Brobecker
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='000001cbc473$6ef9d120$4ced7360$@muller@ics-cnrs.unistra.fr' \
--to=pierre.muller@ics-cnrs.unistra.fr \
--cc=gdb-patches@sourceware.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