delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/15/06:47:33

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
Date: Thu, 15 Nov 2001 12:40:23 +0100
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
X-Mailer: The Bat! (v1.53t) Business
Reply-To: "Gerrit P. Haase" <cygwin AT cygwin DOT com>
Organization: convey Information Systems GmbH
X-Priority: 3 (Normal)
Message-ID: <1543920176.20011115124023@familiehaase.de>
To: cygwin AT cygwin DOT com
Subject: Re: indent.exe strangeness
In-Reply-To: <00a101c16d86$54e0d2f0$0200a8c0@lifelesswks>
References: <FFC7351A4632D411820000508B2E1C2C01CB16B1 AT hqexch01 DOT citrix DOT com>
<20011115030821 DOT GA3841 AT redhat DOT com> <00a101c16d86$54e0d2f0$0200a8c0 AT lifelesswks>
MIME-Version: 1.0

Hallo Robert,

2001-11-15 12:14:29, du schriebst:

>> On Wed, Nov 14, 2001 at 10:05:14PM -0500, Kevin Schnitzius wrote:
>>>Are your source drives mounted as binary or text?
>>
>> Actually if you add /usr/lib/automode.o it might just cause this to be
>> a non-issue.

> Won't this do the wrong thing on text mode mounts? (ie write in binary
> not text mode).

On textmounts it works with every kind of file, though binmode files
will be converted to texmode files.
On binmode mounts, it doesn't work as expected with textmode files.

automode.o linked in causes that every output file is in binmode, but
then it works without additional ^M's for every kind of file.

That is how Robert said the wrong thing here.

What about a patch that would fopen() every file in binmode and write it
back according to the mount?

Gerrit
-- 
convey Information Systems GmbH                   http://www.convey.de/
                                                  Vitalisstraße 326-328
Gerrit P. Haase                                   D-50933 Köln
gerrit DOT haase AT convey DOT de                            Fon: ++49 221 6903922


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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