X-Spam-Check-By: sourceware.org
Message-ID: <451E906F.3030402@byu.net>
Date: Sat, 30 Sep 2006 09:42:39 -0600
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Similar Bash 3.1.18 CR/LF Problem
References: <451D589C.9070609@cygwin.com> <657A9BE009D3504AAE29BD8E8C2DD61E01A5ABF0@SDGEXEVS02.corp.intuit.net> <efjnpp$pr2$1@sea.gmane.org>
In-Reply-To: <efjnpp$pr2$1@sea.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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

According to mwoehlke on 9/29/2006 12:14 PM:
> Wilks, Dan wrote:
>> So we just got the short-end?  A long(?) standing behavior of cygwin
>> and DOS paths and a recent change to bash that eliminates support for
>> \r's.  I guess we were living on the edge of something that wasn't
>> supposed to work at all and didn't even know it.  :/
>>
>> We'll try to figure out some workaround for our environment.  I just
>> wish going "pure cygwin" was an option.
> 
> Well, as we like to say here, http://cygwin.com/acronyms/#PTC. Since
> Eric is currently amenable to adding a shopt to bash, you have the
> option of implementing it yourself and submitting the patch for upstream
> consideration.

I also mentioned that I am toying with the idea of a cygwin-specific patch
that converts all script path to posix before opening them (a'la
cygwin_conv_to_full_posix_path in <sys/cygwin.h>); at which point DOS
paths to a text mode mount would inherit text mode behavior, but DOS paths
to a binary mode mount would still remain binary.  At any rate, I hope to
post bash-3.1-9 next week with something a little nicer for ignoring \r
and working with DOS paths, without too much of a penalty to people like
me that avoid \r and use POSIX paths at all costs in the first place.

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

Eric Blake             ebb9@byu.net
-----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

iD8DBQFFHpBu84KuGfSFAYARApmFAJ9SvfJCj+VsUrDzra+lbhEgAH/4pwCdHOxu
1Z3Mw6Y50tYCb8q22nrLnqs=
=M9in
-----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/

