From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.devel Subject: Re: Issues with Windows gcc -mno-cygwin (Mingw) Date: 20 Mar 2003 00:40:58 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <32603294.1048059580273.JavaMail.www@wwinf0502> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048117393 4319 80.91.224.249 (19 Mar 2003 23:43:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2003 23:43:13 +0000 (UTC) Cc: emacs-devel Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Mar 20 00:43:10 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18vnDC-00017J-00 for ; Thu, 20 Mar 2003 00:43:10 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18vnEB-0002NK-00 for ; Thu, 20 Mar 2003 00:44:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vnCJ-0007w1-00 for emacs-devel@quimby.gnus.org; Wed, 19 Mar 2003 18:42:15 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18vnBH-0006WA-00 for emacs-devel@gnu.org; Wed, 19 Mar 2003 18:41:11 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18vnBF-0006VD-00 for emacs-devel@gnu.org; Wed, 19 Mar 2003 18:41:09 -0500 Original-Received: from [193.28.100.187] (helo=mail.epost.de) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vnB3-0006UC-00; Wed, 19 Mar 2003 18:40:57 -0500 Original-Received: from cicero.benny.turtle-trading.net.epost.de (193.99.153.6) by mail.epost.de (6.7.015) id 3E66A6180010F690; Thu, 20 Mar 2003 00:40:56 +0100 Original-To: david.ponce@wanadoo.fr In-Reply-To: <32603294.1048059580273.JavaMail.www@wwinf0502> Original-Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12474 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12474 Hi David, David PONCE writes: > diff -c -r1.248 sysdep.c I'm not sure this is the right place. _fmode is set in emacs.c and unexw32.c, this issue should probably not be spread out over even more files. > + int _CRT_fmode = _O_BINARY; _CRT_mode is documented to change stdin/stdout/stderr only. While it *does* also set _fmode with the current Mingw startup code, I'm not sure if that is not a bug. IMO all these problems and confusion just highlight, that these compiler specific and badly documented options probably shouldn't be used at all. so long, benny