From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: MS-Windows build broken in Fmake_network_process Date: Fri, 26 Mar 2010 22:14:09 +0100 Message-ID: References: <83634jglab.fsf@gnu.org> <831vf7ge57.fsf@gnu.org> <83y6hfeyzw.fsf@gnu.org> <83vdcig87f.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269672901 25393 80.91.229.12 (27 Mar 2010 06:55:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 27 Mar 2010 06:55:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 27 07:54:57 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NvPv4-00052B-A5 for ged-emacs-devel@m.gmane.org; Sat, 27 Mar 2010 07:54:54 +0100 Original-Received: from localhost ([127.0.0.1]:48376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvPv3-0005Mx-O6 for ged-emacs-devel@m.gmane.org; Sat, 27 Mar 2010 02:54:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NvGr9-0002Te-T9 for emacs-devel@gnu.org; Fri, 26 Mar 2010 17:14:15 -0400 Original-Received: from [140.186.70.92] (port=35939 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvGr8-0002T6-JP for emacs-devel@gnu.org; Fri, 26 Mar 2010 17:14:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NvGr7-0007VE-9F for emacs-devel@gnu.org; Fri, 26 Mar 2010 17:14:14 -0400 Original-Received: from dial-181203.pool.broadband44.net ([212.46.181.203]:49993 helo=ix) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvGr4-0007QD-RF; Fri, 26 Mar 2010 17:14:11 -0400 Original-Received: from helmut by ix with local (Exim 4.69) (envelope-from ) id 1NvGr3-0001pw-60; Fri, 26 Mar 2010 22:14:09 +0100 In-Reply-To: <83vdcig87f.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Mar 2010 23:05:08 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 27 Mar 2010 02:54:48 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:122754 Archived-At: * Eli Zaretskii [2010-03-26 21:05+0100] writes: >> From: Helmut Eller >> Cc: emacs-devel@gnu.org >> Date: Fri, 26 Mar 2010 19:17:41 +0100 >> >> >> > /* getsockopt(,,SO_ERROR,,) is said to hang on some systems. >> >> > So only use it on systems where it is known to work. */ >> >> >> >> Have you test case to reproduce it? >> > >> > No. And I don't know enough about this issue to work on the problem, >> > even if I did. >> >> Then link in getsockopt. That's the most direct solution. > > Solution for what? The problem that you apparently can't compile it on Windows. > The previous code had no problems on Windows. The > bug report that triggered the new code was deeply rooted in Posix > behavior; the solution is Posix-centric code, and was never tested on > Windows. Why should it be run on Windows, Because Windows has the same BSD based socket API. > and what ``problem'' will > that solve? a) that you can compile it b) that connect can be interrupted before the connection is established. If C-g or some other key is pressed during connect this must be dealt with in some way. Which the previous code did not do correctly. Helmut