Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <02ba01c16dcf$bc7b2750$0200a8c0@lifelesswks>
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: "Gerrit P. Haase" <cygwin@cygwin.com>
References: <FFC7351A4632D411820000508B2E1C2C01CB16B1@hqexch01.citrix.com> <20011115030821.GA3841@redhat.com> <00a101c16d86$54e0d2f0$0200a8c0@lifelesswks> <1543920176.20011115124023@familiehaase.de>
Subject: Re: indent.exe strangeness
Date: Thu, 15 Nov 2001 23:19:12 +1100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 15 Nov 2001 12:17:22.0511 (UTC) FILETIME=[7A91ADF0:01C16DCF]

----- Original Message -----
From: "Gerrit P. Haase" <freeweb@nyckelpiga.de>
To: <cygwin@cygwin.com>
Sent: Thursday, November 15, 2001 10:40 PM
Subject: Re: indent.exe strangeness


> Hallo Robert,
>
> 2001-11-15 12:14:29, du schriebst:
...
> >> 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).
>
...> 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.

Uhmm I said "write in binary mode" and thats what you just said "output
file is in binmode". I don't understand where I was wrong.

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

I think that textmode.o is the correct tool rather than a patch - read
every file in textmode (they are source after all :]) and write in
textmode.

Rob


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

