This is the mail archive of the cygwin-talk 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: igncr vs text mode mounts, performance vs compatibility

Hash: SHA1

According to Gary R. Van Sickle on 10/26/2006 6:31 PM:
> No no no Korns, you've misunderstood Eric's statement and my question based
> thereupon.  Eric made a statement about "those of us who WANT literal \r as
> required by POSIX" being able to circumvent the correct,
> non-speed-compromised, "do-the-right-thing" behavior that he is
> (re-)implementing.

The numbers showed that bash was slower with igncr turned on.  Yes, igncr
is a faster option than bash-3.1-6, but still slower than straight reading.

>  My question was, to paraphrase, "Why would anybody want
> the old, broken behavior?"

Because it is identical to the behavior you would get for the same script
on Linux.  Cygwin emulates Linux, and until Linux ignores \r on binary
files, you should not expect cygwin to go out of its way to do so either.

- --
Life is short - so eat dessert first!

Eric Blake   
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


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