public inbox for cygwin-developers@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin-devel <cygwin-developers@cygwin.com>
Subject: fixup_after_fork (NULL)
Date: Thu, 27 Feb 2020 22:25:00 -0000	[thread overview]
Message-ID: <f6ed7983-799d-7162-0dbf-3cd054a0dc27@cornell.edu> (raw)

fhandler_socket_wsock::fixup_after_exec and 
fhandler_socket_unix::fixup_after_exec call fixup_after_fork (NULL), which would 
seem to lead to calls to DuplicateHandle with first argument NULL.  I can't find 
any documentation that says this is legal.  What do these calls do?

Ken

             reply	other threads:[~2020-02-27 22:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-27 22:25 Ken Brown [this message]
2020-02-28 12:41 ` Corinna Vinschen
2020-02-28 14:50   ` Corinna Vinschen

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=f6ed7983-799d-7162-0dbf-3cd054a0dc27@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin-developers@cygwin.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).