delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/12/13:28:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20001012172738.19544.qmail@web114.yahoomail.com>
Date: Thu, 12 Oct 2000 10:27:38 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: [BUG] Multi-line macros in gcc broken with CR/LF
To: MORB <MORB AT CdBSSoftware DOT net>, cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0

--- MORB <MORB AT CdBSSoftware DOT net> wrote:
> Earnie Boyd wrote:
> 
> > 
> > And what would you expect GCC to do on UNIX if the file contained a \r\n
> line
> > ending?  When installing you've obviously chosen that you wanted to use
> UNIX
> > style line endings.  Since you've chosen you wanted to UNIX style line
> endings
> > then you *must* use UNIX style line endings.
> 
> But i do want to use unix style line endings. But, I had to apply a
> patch to the gcc source tree, and it's patch that put CR/LFs in the
> files it patched. Since I found no way to force patch to avoid to
> replace CR/LF by LF, and as the docs says that all the tools supplied
> with cygwin should work properly even with CR/LF, I assume it's a bug.
> 
> Anyway, I got rid of the problem by reinstalling a version of patch
> coming from gnu, and not from cygwin.
> 

Interesting.  I would be curious to see the output of `cygcheck -s -r -v'
pasted in a mail.  Are you sure that *all* of your mount points are set for
binary processing?  Including the pseudo mount point /cygdrive?

The only reason I'm asking is that I use patch on a daily basis and haven't had
problems.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd AT yahoo DOT com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019