From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Harald Maier Newsgroups: gmane.emacs.windows,gmane.emacs.bugs Subject: Re: Current word on binaries Date: Sat, 14 Feb 2004 16:41:29 +0100 Sender: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Message-ID: References: <009901c3ec70$b3013940$6400a8c0@austin.rr.com> <7494-Sat14Feb2004140608+0200-eliz@elta.co.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1076773535 32432 80.91.224.253 (14 Feb 2004 15:45:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Feb 2004 15:45:35 +0000 (UTC) Cc: help-emacs-windows@gnu.org, Eli Zaretskii , bug-gnu-emacs@gnu.org Original-X-From: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Sat Feb 14 16:45:25 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1As1yv-0005Dk-00 for ; Sat, 14 Feb 2004 16:45:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1As1yk-0002Js-Ts for gnu-help-emacs-windows@m.gmane.org; Sat, 14 Feb 2004 10:45:14 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1As1wP-0001sV-Cr for help-emacs-windows@gnu.org; Sat, 14 Feb 2004 10:42:49 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1As1vq-0001X2-Th for help-emacs-windows@gnu.org; Sat, 14 Feb 2004 10:42:46 -0500 Original-Received: from [212.227.126.185] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.24) id 1As1vI-0001En-38; Sat, 14 Feb 2004 10:41:40 -0500 Original-Received: from [212.227.126.209] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1As1vA-0002EK-00; Sat, 14 Feb 2004 16:41:32 +0100 Original-Received: from [80.136.232.3] (helo=ate.maierh) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1As1vA-0004lx-00; Sat, 14 Feb 2004 16:41:32 +0100 Original-Received: by ate.maierh (Postfix, from userid 500) id 36D8F131FD; Sat, 14 Feb 2004 16:41:29 +0100 (CET) Original-To: Jason Rumney In-Reply-To: (Jason Rumney's message of "14 Feb 2004 13:37:58 +0000") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:7f9705e6678292fb4e27195dea438aa3 X-BeenThere: help-emacs-windows@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Discussion forum for users of the GNU Emacs port to Windows List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.windows:2016 gmane.emacs.bugs:6964 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6964 Jason Rumney writes: > Harald Maier writes: > >> It's gcc-3.3.1. > > GCC 3.2 has the same problem. -O1 and -O0 do not help. Ok, I remember it again. Last year there was a patch about _fmode and O_BINARY for gcc -mno-cygwin. See herefor the the messages in emacs-devel with: ,---- | Subject: [david.ponce@wanadoo.fr: Re: Issues with Windows gcc -mno-cygwin | (Mingw)] `---- ,----[ snippet from the emacs.c patch ] | ! #if defined (MSDOS) || defined (WINDOWSNT) | /* We do all file input/output as binary files. When we need to translate | newlines, we do that manually. */ | _fmode = O_BINARY; | + #endif /* MSDOS || WINDOWSNT */ | | + #ifdef MSDOS `---- I tried it and then it works fine. Is it not possible to add an file to the /pub/gnu/emacs sources that describes the restriction or mentinones the patch. Harald