delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/30/11:17:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <F668F8488B0EA74D89C887A74FB4116F2BA730@Endor>
From: Richard Bland <r DOT bland AT espo DOT org>
To: cygwin AT cygwin DOT com
Subject: RE: CRLF to LF Issue
Date: Mon, 30 Jun 2003 16:18:28 +0100
MIME-Version: 1.0

OK, thanks for the hint. I've hacked out reference to O_BINARY in the
function 'create_output_file', and that, amongst other hacks, seems to have
done the trick.

Ta!

Rich

-----Original Message-----
From: Corinna Vinschen [mailto:corinna-cygwin AT cygwin DOT com] 
Sent: 30 June 2003 13:50
To: cygwin AT cygwin DOT com
Subject: Re: CRLF to LF Issue


On Thu, Jun 26, 2003 at 11:54:30AM +0100, Richard Bland wrote:
> fashion. If I use 'patch' to apply a patch file to this source code, 
> the CRLF pair become a single LF for every line in the file.

Cygwin patch always creates output files in binary (LF EOL).  This solves
more problems (discussed earlier in this list and elsewhere) than it
produces so I'm not inclined to revert that change.  If you don't like it,
use a Windows native patch or unix2dos.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



Note: ESPO currently uses Microsoft Office 2000/XP.  

Please make sure that files you send can be read in this format. This
message is intended only for the named addressee(s) and may contain
confidential and/or privileged information.  If you are not the named
addressee you should not disseminate, copy, disclose, modify or distribute
this e-mail unless authorised to do so by the sender.  If you have received
this message in error then please notify m DOT geary AT espo DOT org and delete the
message and any attachments accompanying it immediately.

You are also advised that the views and opinions expressed in this e-mail
message and any attachments are the author's own, and may not reflect the
views and opinions of ESPO.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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