delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/07/17:05:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 7 May 2005 17:05:18 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: mkdir -p and network drives
Message-ID: <20050507210518.GA19855@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <SERRANO9tjxqxPs68K800000243 AT SERRANO DOT CAM DOT ARTIMI DOT COM> <Pine DOT GSO DOT 4 DOT 61 DOT 0505051659550 DOT 9005 AT slinky DOT cs DOT nyu DOT edu> <87k6mc1au3 DOT fsf AT penguin DOT cs DOT ucla DOT edu> <20050506204324 DOT GJ29240 AT trixie DOT casa DOT cgf DOT cx> <8764xvbl2n DOT fsf AT penguin DOT cs DOT ucla DOT edu> <20050507154332 DOT GF11243 AT trixie DOT casa DOT cgf DOT cx> <427CF5F5 DOT 2030907 AT byu DOT net> <20050507172540 DOT GA14393 AT trixie DOT casa DOT cgf DOT cx>
Mime-Version: 1.0
In-Reply-To: <20050507172540.GA14393@trixie.casa.cgf.cx>
User-Agent: Mutt/1.5.8i

On Sat, May 07, 2005 at 01:25:40PM -0400, Christopher Faylor wrote:
>On Sat, May 07, 2005 at 11:08:05AM -0600, Eric Blake wrote:
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>According to Christopher Faylor on 5/7/2005 9:43 AM:
>>>>Which Bash bug is that?
>>> 
>>> Bash is the most important program for which 'that chdir("//") is
>>> currently no different from chdir("/")'.
>>
>>Is that a bug in bash or in cygwin, though?  The comments for cygwin
>>bash-2.05b-17 mention that a patch from Corinna Vinschen was applied to
>>avoid turning '/' into '//' when converting/checking path.
>
>There is no need to speculate that this is a "bug".  You seemed to be
>reading this thread:
>
>http://sources.redhat.com/ml/cygwin-patches/2005-q2/msg00020.html
>
>where Pierre informs that we added a workaround in cygwin for bash.  If
>bash 2.05b-17 has Corinna's fix then the workaround is no longer needed.
>I will remove the workaround and see if things work ok.

The problem reported with '//' was apparently this:

http://www.cygwin.com/ml/cygwin/2004-05/msg00449.html

This patch apparently was dropped from later releases of bash and, so,
the problem was re-reported a few times after that, e.g.

http://cygwin.com/ml/cygwin/2005-02/threads.html#00190

We worked around it in cygwin here:

http://cygwin.com/ml/cygwin-cvs/2005-q1/msg00151.html

2.05b-17 was released for "testing" here:

http://www.cygwin.com/ml/cygwin-announce/2004-11/msg00024.html

Our bash maintainer was noticed as being MIA here:

http://cygwin.com/ml/cygwin-apps/2005-03/threads.html#00005
(the keychain maintainer was later found to be vacationing but the bash
maintainer is still missing)

I mentioned that I'd taken 2.05b-17 out of "test" here:
http://cygwin.com/ml/cygwin/2005-04/msg00709.html

The bottom line is that the current version of bash seems to not produce
'//' for root so it should be ok to remove the *workaround* in cygwin.
I will remove my workaround and generate a new snapshot.

cgf

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019