bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Current word on binaries


From: Eli Zaretskii
Subject: Re: [h-e-w] Current word on binaries
Date: Sat, 14 Feb 2004 18:56:18 +0200

> From: Harald Maier <address@hidden>
> 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: address@hidden: 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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]