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: <049e01c16e1e$e3efeab0$0200a8c0@lifelesswks> From: "Robert Collins" To: References: <20011115030821 DOT GA3841 AT redhat DOT com> <00a101c16d86$54e0d2f0$0200a8c0 AT lifelesswks> <1543920176 DOT 20011115124023 AT familiehaase DOT de> <02ba01c16dcf$bc7b2750$0200a8c0 AT lifelesswks> <20011115192147 DOT GF9348 AT redhat DOT com> Subject: Re: indent.exe strangeness Date: Fri, 16 Nov 2001 08:45:48 +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 21:43:58.0232 (UTC) FILETIME=[A1990980:01C16E1E] === ----- Original Message ----- From: "Christopher Faylor" To: Sent: Friday, November 16, 2001 6:21 AM Subject: Re: indent.exe strangeness > On Thu, Nov 15, 2001 at 11:19:12PM +1100, Robert Collins wrote: > >> 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. > > No. That would end up putting CRLF on every file. I doubt that people > with binmode mounts would be pleased. They shouldn't care if all the text process tools have been ported correctly. Thats the whole point of textmode and binmode ain't it? Certinaly squid _always_ writes text data with textmode, and binary data with binmode, and I've heard no complaints w.r.t this. > automode.o should take any file and create a file with only LF line > endings. This will be correctly interpreted by just about every tool > except older versions of notepad.exe. FWIW my win2k notepad still chokes. Anyway, I've start to be picky here, so I'll just be quite now :}. 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/