www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=uulhw+ESqRtmvSjrFnZ/W0HSI6hZV6sm6r7P02iueexI78gCdYuIs | |
VS5JLycgmml7z4mlITpMThBOjmd/Q6I4e2xKXDuH36vIDChTOW3rzCeZTI8lcSiT | |
AaiL5BIstvZIKiMct+Um6BK/maAyd7gCMYhbkiWQ0VNkj8ofS6cogY= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=AVn/1N17+7QSAR4DZI55RhXbNu4=; b=Py/48v0sDvzvCwGoaP/qrLsfzyth | |
+Owow93RMJIPNVuIlxu4b9kfWa2d4sAwYGvDn2x03OQmQCUNU2uOoduoAqbPDmQ2 | |
9Yw5Xexq5k5mg/zMO+KFLzm0L5hyMrOJcRI62a40NoUyIezegMvpoGC3gpcbeGMy | |
bEicbBXc9taq4lA= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-101.9 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=mobile |
X-HELO: | drew.franken.de |
X-Spam-Score: | -2.899 |
Date: | Fri, 16 Feb 2018 17:43:49 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cygcheck failing to find file |
Message-ID: | <20180216164349.GB3122@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CAKqBF1gpENfzKjZdbP2RFPxPZpuHu6d7JPnAAJM3R+B5nQb3oQ AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <CAKqBF1gpENfzKjZdbP2RFPxPZpuHu6d7JPnAAJM3R+B5nQb3oQ@mail.gmail.com> |
User-Agent: | Mutt/1.9.2 (2017-12-15) |
--V0207lvV8h4k8FAm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 15 14:58, Fergus Daly wrote: > I have an executable (created in Cygwin) located on a mobile drive D: >=20 > $ ls -al /cygdrive/d/src/sc.exe > -rwxr-xr-x 1 ferg dell 1426958 Jan 28 17:44 /cygdrive/d/src/sc.exe* > $ cygcheck /cygdrive/d/src/sc.exe > d:\src\sc.exe > D:\consoleX\bin\cygwin1.dll > C:\Windows\system32\KERNEL32.dll > <snip> # but it all works >=20 > Now omit the need for /cygdrive/ by writing /etc/fstab as > none / cygdrive binary 0 0 > and re-start Cygwin. >=20 > $ ls -al /d/src/sc.exe > -rwxr-xr-x 1 ferg dell 1426958 Jan 28 17:44 /d/src/sc.exe* > $ cygcheck /d/src/sc.exe > cygcheck: could not find '/d/src/sc.exe' >=20 > Why can't cygcheck find the file? > (Particularly, when ls can. And so can, say, md5sum.) Cygcheck is a native Windows executable and thus does not use Cygwin's path handling (in contrast to md5sum, for instance). Rather it uses a home grown version and this in turn has a bug when checking the cygdrive prefix against the incoming path. Everything goes, just not '/' alone. I pushed a fix and uploaded new developer snapshots to https://cygwin.de/snapshots/ Please give them a try. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --V0207lvV8h4k8FAm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlqHCkUACgkQ9TYGna5E T6DM/hAAl+qPv5zLlCgTj1JgG8nqz05Jtve5xs9+pQLG68Wk9/2vkXBDRKi2TcRv UW2Ckhz+QuuryyWEDfHLSmsL23MkDwb4FNppmU2q5Bjc4U0/6PEaW6zd5hD4FGPm vha/gg8r3vwgxjK3sSqGYkPJZEh54cveNLsJxO/5guLjJPOb6cG2ihyB3ESk0lH1 Vfnc8qXrSS+mPPldImx9LQZ2BS36qoVnb+trAzjOsaGTs6aXqm2xd2uUTyFjDf9x wFxIrgK5iczgE5/iTGdPm11rnxUCzkG9HlLzrP/pCUQ7siBWwYxdXjRNmA/HPflC P/cx79IhzaNULEy3uk937bAbNV/3Tc4Tbw6POw+7xkBoxCdqj+09jX9KqMgK69mr rG2epMp4XmXpMfEhTvRNIInnJw9hLvQ8t6DJLwunjOgBJkzLU8cLie5CIFu3mjto KDt9gRBNt9baNxxU+5p7td+Iy/iXl9U6wjkN73w8DDsJwuhRWo3A8AkzC7jkdYPu sHuqC553+8w2OOhooMneQ/mt1i7hqomyLjm2mv3rinopuvjMc7ydBtxDTK7Lcu/H rvYZ25Dlf6XDwKXpOVYUHp/xJU7wuORAB5JN6TdaMJLbyLxBnWjoFJO8+peLJP4E YT+8kHwPuHLXuefN7a6xx0EhInfvYTbnM62xejcRHmRLs+kp0ME= =KPEc -----END PGP SIGNATURE----- --V0207lvV8h4k8FAm--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |