delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/01/11:24:05

X-Spam-Check-By: sourceware.org
Date: Thu, 1 Feb 2007 11:23:42 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Eliminating -mno-cygwin from gcc?
Message-ID: <20070201162342.GA17359@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20070131131337 DOT GA17256 AT trixie DOT casa DOT cgf DOT cx> <20070201101648 DOT GD25688 AT ns1 DOT anodized DOT com> <20070201103946 DOT GY27843 AT calimero DOT vinschen DOT de> <20070201121552 DOT GB29751 AT trixie DOT casa DOT cgf DOT cx> <20070201154711 DOT GZ27843 AT calimero DOT vinschen DOT de> <ba40711f0702010814o4a3357a4yb0ff229e91dd32a4 AT mail DOT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <ba40711f0702010814o4a3357a4yb0ff229e91dd32a4@mail.gmail.com>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Thu, Feb 01, 2007 at 11:14:28AM -0500, Lev Bishop wrote:
>On 2/1/07, Corinna Vinschen wrote:
>>On Feb  1 07:15, Christopher Faylor wrote:
>>> We were going to replace text mounts with automatic file conversion using
>>> "d2u":
>>>
>>>   cygwin: CRLF line endings detected.  Converting.
>>
>>I think this is too complicated.  What about
>>
>>  cygwin: CRLF line endings detected.  Deleting offending file.
>
>It's already been shown that file deletion is too slow in cygwin. We
>don't want more performance complaints. Better do it this way:
>
>$ cat /etc/postinstall/cygwin.sh.done
>#!/bin/sh
>find / -execdir d2u {} +

That's a good idea but I think you mean:

#!/bin/sh
exec find /cygdrive/? -execdir d2u {} +

The use of the "exec" above would remove the need for cygwin's fork,
which we know is also slow.  Also using cygdrive ensures that everything
is caught.

Hmm.  We might want to extend this script to detect a corporate network
and "do the right thing" there, too.  Just to be really thorough.

cgf

--
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