-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Frank Illenseer on 9/27/2006 11:34 AM: > Sorry - for not providing all infos... > > I did some additional tests: When mounting my drives in "binmode" the > error is gone and when mounting them in "textmode" the error is there.
Sounds like ar needs to be taught about open(O_BINARY)/fopen("rb") (or be linked with binmode.o). > > But due to the newest bash update, I rather need "textmode" to re-use my > existing scripts without conversion, as the come from a revision control > system which always generates the EOLs according to the underlying system. See the other thread on this today. First, why can't you teach your revision control system that on a cygwin binary mount, the underlying system uses \n line endings, not \r\n? Second, you can add this to the beginning of your script to make bash ignore \r when the file has \r\n endings even on a cygwin binary mount: IFS=' '' '' ' # Yes, that is space, tab, and either a 1 or 2-character EOL as needed > Cygwin Configuration Diagnostics > Current System Time: Wed Sep 27 19:24:15 2006 We ask that you ATTACH this, not include it inline, to avoid spurious hits in the mail archive search engine. > > a: fd N/A N/A > c: hd NTFS 99998Mb 99% CP CS UN PA FC OS-WinXP & Apps Wow - that's one packed drive. > > C:\Programme\cygwin / system binmode > C:\Programme\cygwin/bin /usr/bin system binmode > C:\Programme\cygwin/lib /usr/lib system binmode > . /cygdrive system binmode,cygdrive I thought you said you had to use textmode? > Not Found: sh Not good. Are you sure evereything is installed correctly? - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----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 iD8DBQFFGyh084KuGfSFAYARApOGAJ0WqlXTnLfjPVy1DSffKw0CRUvA7wCdEU/c C8VgGZS+DK5ICM0WXh4M7mw= =i6l8 -----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/