This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

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.

cgf

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]