This is the mail archive of the cygwin 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: Similar Bash 3.1.18 CR/LF Problem


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Wilks, Dan on 9/28/2006 3:59 PM:
> 
> That was my guess.  But since this was the cygwin installer run off 
> of the cygwin site I thought I'd mention it, if for no other reason 
> than tracking purposes.  Maybe there's a problem with the installer /
> postinstall script when downgrading? Or perhaps that's intended 
> behavior.  It was just surprising.

It's intended behavior; the postinstall script was not written with
downgrades in mind (I may rethink that for my next release; but, it won't
help you, because downgrading to 3.1-8 or earlier will not have this patch).

> 
> And... it didn't run again when re-upgrading just bash to the new
> (broken) version so we had to manually copy bash.exe to sh.exe.

What makes you think the current version is broken?  In my opinion, it
works just fine.  However, your discovery that using Windows paths instead
of POSIX paths makes cygwin revert to binary file opens on text mounts is
rather interesting.  I don't know if cygwin1.dll is at fault for that
strange behavior.  It may be possible for me to patch bash to always
convert script names to POSIX before opening them, so that you would get
the right mount behavior, but I'm not looking forward to such a hack.

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

Eric Blake             ebb9@byu.net
volunteer cygwin bash maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFHI2Y84KuGfSFAYARAjexAJ9uP5w9/+OaWfZdt5ld8WAJUe04tACgif8X
6dEv5L8ILFOuqmHLIm5RyBw=
=HO9/
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]