From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21331 invoked by alias); 15 Nov 2001 12:17:26 -0000 Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Received: (qmail 21287 invoked from network); 15 Nov 2001 12:17:23 -0000 Received: from unknown (HELO itdomain003.itdomain.net.au) (203.63.157.208) by sourceware.cygnus.com with SMTP; 15 Nov 2001 12:17:23 -0000 Received: from lifelesswks ([144.137.124.227]) by itdomain003.itdomain.net.au with Microsoft SMTPSVC(5.0.2195.3779); Thu, 15 Nov 2001 23:17:22 +1100 Message-ID: <02ba01c16dcf$bc7b2750$0200a8c0@lifelesswks> From: "Robert Collins" To: "Gerrit P. Haase" References: <20011115030821.GA3841@redhat.com> <00a101c16d86$54e0d2f0$0200a8c0@lifelesswks> <1543920176.20011115124023@familiehaase.de> Subject: Re: indent.exe strangeness Date: Sun, 11 Nov 2001 08:26:00 -0000 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] X-SW-Source: 2001-11/txt/msg00287.txt.bz2 ----- 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/