Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: "Gerrit P. Haase" References: <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 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" To: 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/