From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jarek Czekalski Newsgroups: gmane.emacs.devel Subject: Re: after r114507 cannot build on msys - dup2 problem Date: Thu, 31 Oct 2013 19:57:40 +0100 Message-ID: <5272A824.3000300@poczta.onet.pl> References: <527296F1.9020300@poczta.onet.pl> <83ppqlcnjn.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1383245869 2819 80.91.229.3 (31 Oct 2013 18:57:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Oct 2013 18:57:49 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 31 19:57:54 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VbxRK-0008Cz-IX for ged-emacs-devel@m.gmane.org; Thu, 31 Oct 2013 19:57:54 +0100 Original-Received: from localhost ([::1]:58856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbxRK-0006rH-9M for ged-emacs-devel@m.gmane.org; Thu, 31 Oct 2013 14:57:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbxRC-0006pX-Au for emacs-devel@gnu.org; Thu, 31 Oct 2013 14:57:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbxR6-0007kz-OR for emacs-devel@gnu.org; Thu, 31 Oct 2013 14:57:46 -0400 Original-Received: from smtpo15.poczta.onet.pl ([213.180.142.146]:45757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbxR6-0007km-Dt for emacs-devel@gnu.org; Thu, 31 Oct 2013 14:57:40 -0400 Original-Received: from [192.168.17.9] (cj.e-siemianowice.pl [95.215.234.30]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jarekczek@poczta.onet.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 3d9bPs6W7TzZD1F1 for ; Thu, 31 Oct 2013 19:57:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poczta.onet.pl; s=2011; t=1383245857; bh=Tiiyr63pyDyeC+YPkEgpDQLuzw81luIcReD8kLzDBDE=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=eswGNEJucQAIopBeghaoa/yNv+V02XuV4T15T1I3leGG9td0BNr0WByFvN0LfaCV9 CKK2B4NtDg19EMUR6CPnuL8gDRlb1yG51UuB1NAXuM1m2svaYya8AzNiRS2vQ0Kohk kUAvCBTQRzDU7mQzYvCbjwVczF/S1pGwxbrypTiE= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 In-Reply-To: <83ppqlcnjn.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 213.180.142.146 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164750 Archived-At: W dniu 2013-10-31 19:17, Eli Zaretskii pisze: > > How did you invoke the configure script? Did you use > nt/msysconfig.sh, or did you invoke ./configure by hand? Probably when I did my first build (a months ago) I used the right file. Now I forgot and shot standard configure. Thanks for the hint. I guess I will remember now. > That's it: it never runs the test program, precisely because that > would erroneously decide that dup2 doesn't work. > I got it. Msdn documentation of msvcrt _dup2 says it returns 0 on success. Posix implementation returns the new descriptor, not 0. That's why standard dup2 test fails. Jarek