delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/13/10:51:15

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 13 Jan 2010 10:50:50 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Setup.exe 2.674 local directory issue
Message-ID: <20100113155050.GA32366@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <988A0C72D3C3024CB3C4BA3B1DC1A66F34008D AT BEL1EXCLV01 DOT adcorp DOT kla-tencor DOT com>
MIME-Version: 1.0
In-Reply-To: <988A0C72D3C3024CB3C4BA3B1DC1A66F34008D@BEL1EXCLV01.adcorp.kla-tencor.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Wed, Jan 13, 2010 at 04:40:27PM +0100, Cumps, Erik wrote:
>Hello,
>
>while trying to use setup.exe version 2.674 to upgrade an existing 1.5
>cygwin install I detected the following issue:
>
>If you specify 'Install from Local Directory' and a 'Local Package
>Directory' path containing a trailing backslash, setup fails to detect
>the packages in the directory.
>
>If you specify the same directory path WITHOUT any trailing backslash,
>setup detects the packages just fine.
>
>Setup appears to be computing invalid pathnames for the local package
>files when a trailing backslash is present in the local dir path, as
>evidenced by monitoring setup's file activity with tools like procmon.
>
>The first log is from a setup session specifying 'X:\' as local dir:
>
>IRP_MJ_CREATE	X:\\release\a2ps\a2ps-4.13-1-src.tar.bz2
>PATH SYNTAX BAD
>IRP_MJ_CREATE
>X:\\ttp%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin\release\a2ps\a2
>ps-4.13-1.tar.bz2	PATH SYNTAX BAD
>
>The second log is from a setup session specifying 'X:' as local dir:
>
>IRP_MJ_CREATE	X:\release\a2ps\a2ps-4.13-1.tar.bz2
>PATH NOT FOUND
>IRP_MJ_CREATE
>X:\http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin\release\a2ps\a2
>ps-4.13-1.tar.bz2	SUCCESS
>
>This behaviour seems quite unintuitive to me, especially considering
>that the browse button for the 'Local Package Directory' generates
>path names WITH a trailing backslash.

Thanks for the bug report.  This should be fixed in CVS so it will be
in the next setup.exe rollout.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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