delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/15/07:17:51

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: <02ba01c16dcf$bc7b2750$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Gerrit P. Haase" <cygwin AT cygwin DOT com>
References: <FFC7351A4632D411820000508B2E1C2C01CB16B1 AT hqexch01 DOT citrix DOT com> <20011115030821 DOT GA3841 AT redhat DOT com> <00a101c16d86$54e0d2f0$0200a8c0 AT lifelesswks> <1543920176 DOT 20011115124023 AT familiehaase DOT de>
Subject: Re: indent.exe strangeness
Date: Thu, 15 Nov 2001 23:19:12 +1100
MIME-Version: 1.0
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 AT nyckelpiga DOT de>
To: <cygwin AT cygwin DOT 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/

- Raw text -


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