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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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