From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.bugs,gmane.emacs.windows Subject: Re: [h-e-w] Current word on binaries Date: Sat, 14 Feb 2004 18:56:18 +0200 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <2914-Sat14Feb2004185617+0200-eliz@elta.co.il> References: <009901c3ec70$b3013940$6400a8c0@austin.rr.com> <7494-Sat14Feb2004140608+0200-eliz@elta.co.il> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1076777873 7948 80.91.224.253 (14 Feb 2004 16:57:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Feb 2004 16:57:53 +0000 (UTC) Cc: help-emacs-windows@gnu.org, bug-gnu-emacs@gnu.org, jasonr@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 14 17:57:42 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 1As36s-0008LE-00 for ; Sat, 14 Feb 2004 17:57:42 +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 1As35f-0002ca-8n for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Feb 2004 11:56:27 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1As35c-0002bY-O0 for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2004 11:56:24 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1As356-0002UG-Q4 for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2004 11:56:23 -0500 Original-Received: from [192.114.186.21] (helo=necron.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.24) id 1As356-0002TL-DD; Sat, 14 Feb 2004 11:55:52 -0500 Original-Received: from zaretski ([80.230.159.72]) by necron.inter.net.il (MOS 3.4.4-GR) with ESMTP id ACT96205; Sat, 14 Feb 2004 06:55:11 GMT Original-To: Harald Maier X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (message from Harald Maier on Sat, 14 Feb 2004 16:41:29 +0100) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6965 gmane.emacs.windows:2017 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6965 > From: Harald Maier > Date: Sat, 14 Feb 2004 16:41:29 +0100 > > 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)] > `---- Sorry, I'm confused: what does this have to do with the problem at hand? Did you verify that the crash is related to this patch? > ,----[ 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. Why not simply patch the sources and be done with it?