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


Hallo Robert,

2001-11-15 12:14:29, du schriebst:

>> On Wed, Nov 14, 2001 at 10:05:14PM -0500, Kevin Schnitzius wrote:
>>>Are your source drives mounted as binary or text?
>>
>> 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).

On textmounts it works with every kind of file, though binmode files
will be converted to texmode files.
On binmode mounts, it doesn't work as expected with textmode files.

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.

What about a patch that would fopen() every file in binmode and write it
back according to the mount?

Gerrit
-- 
convey Information Systems GmbH                   http://www.convey.de/
                                                  Vitalisstraße 326-328
Gerrit P. Haase                                   D-50933 Köln
gerrit.haase@convey.de                            Fon: ++49 221 6903922


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