X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=AWL,BAYES_00,HTTP_ESCAPED_HOST X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: Setup.exe 2.674 local directory issue Date: Wed, 13 Jan 2010 16:40:27 +0100 Message-ID: <988A0C72D3C3024CB3C4BA3B1DC1A66F34008D@BEL1EXCLV01.adcorp.kla-tencor.com> From: "Cumps, Erik" To: Cc: X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-01-13_07:2010-01-05,2010-01-13,2010-01-13 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1001130119 X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 your fantastic work on Cygwin and setup.exe! Best regards, Erik Cumps -- 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