From: Paul Eggert <eggert@cs.ucla.edu>
To: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: EWOULDBLOCK and EINPROGRESS in process.c
Date: Tue, 24 Mar 2015 16:42:00 -0700 [thread overview]
Message-ID: <5511F648.4030505@cs.ucla.edu> (raw)
In-Reply-To: <83sicup8s0.fsf@gnu.org>
Eli Zaretskii wrote:
> Can someone tell why we need that "#else" there?
The EWOULDBLOCK code is there because Kim Storm heard a rumor that some oddball
nonblocking 'connect' implementations returned EWOULDBLOCK. Please see:
https://lists.gnu.org/archive/html/emacs-devel/2002-02/msg00718.html
I also vaguely recall stories that some old Unix platforms did that. The most
recent reference I found in a quick Google search was UnixWare 7 Release 7.1.4
(April 2004):
http://uw714doc.sco.com/en/SDK_netapi/sockC.nonBlockSocks.html
If that documentation is right, the current Emacs code wouldn't work on UnixWare
7.1.4, not that we care.
next prev parent reply other threads:[~2015-03-24 23:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-24 18:09 EWOULDBLOCK and EINPROGRESS in process.c Eli Zaretskii
2015-03-24 21:25 ` Andreas Schwab
2015-03-25 18:13 ` Eli Zaretskii
2015-03-24 23:42 ` Paul Eggert [this message]
2015-03-25 18:15 ` Eli Zaretskii
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=5511F648.4030505@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.