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=s742imkvaHHa/02kSzqBWH9uD9KGS6zR6Qupg4Ux5N4fiHFctQ+To HQFIqSuQvWkQ/qt22TKUZJ11tYGufTWV96UhoGGHYS+/eT+619iLsA3AaJ5GQmZ4 c+innc4xRHoxkIVPSRmOMx+wK8sFfacbsx6XBrdfykZJrsOsyutRC8= 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=3htWV7VD+7CrPqzitK0kV58gwaY=; b=EuYI79wt0gkgYgouBg8xshR25ifi W/dkDzpqqyOzwyKWDzTzj4koI1o+FFSeyEs7wY8v23rqypgHkM6DdsrLvSS9lE1P pHKCEdigHvCfeUEBYps1vIb453fvC15tuNMtuAIoyrHeo2fjL5dvYUERV4c/4vjo OcuDomBP4/C14+g= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.8 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=personal X-HELO: drew.franken.de X-Spam-Score: -2.899 Date: Wed, 21 Feb 2018 10:10:33 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygcheck failing to find file Message-ID: <20180221091033.GN3417@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="svZFHVx8/dhPCe52" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) --svZFHVx8/dhPCe52 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 21 07:46, Fergus Daly wrote: > >> Cygcheck is a native Windows executable .. .. > >> I pushed a fix and uploaded new developer snapshots to > >> https://cygwin.de/snapshots/ > >> Please give them a try. >=20 > I tried your link above but got "HTTP 404 Not found". Duh, I did it again, didn't I? I'm constantly mixing up my personal de domain with cygwin.com. Sorry about that! > Just in case this was your intention I tried the latest cygwin1.dll > snapshot from > https://cygwin.com/snapshots/ > being 20180216 but still got > > $ cygcheck /d/src/sc.exe > > cygcheck: could not find '/d/src/sc.exe' >=20 > I just tried the 20180220 snapshot; but still get > > $ cygcheck /d/src/sc.exe > > cygcheck: could not find '/d/src/sc.exe' Apparently you only updated the Cygwin DLL, not the entire package including the utilities packed with the DLL. However, see the important parts of my reply you snipped away: 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. So the patch I applied affected cygcheck, not the Cygwin DLL. HTH, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --svZFHVx8/dhPCe52 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlqNN4kACgkQ9TYGna5E T6CdFw//dBBThbMgPnQdHOswUdm0HGDaVbmBJjtV2BGcowGjgIPSooSTIFBE1J4Z Sb+SNUMuq0s7NwmeGsgyaMtfzSyN+Or6k0ukhtZOiVwLIjbu75m0qSxNKfYALIit 6vwjCkRXYsIjq0ypW7JkviCyzubsEVsjawI4n5+waAbU3G/4gZVOJLXx4aDPIwUi mc06WEz7LRjyW00PlF1E1k7lTLcg7VDpoVu+FGuMHlpu5po3hBQJTpKC+DQ2XZf8 FMNPWX6qobf6d01cOul8jrygVUUXrcTmtB6T+h4jq7JyTaqKMpCzS7G+NNXwFhV0 A6JIcN//JQLYYdjNpRRugwMm2ElP6W7sSf4hlt2Fgr5a18z2qYt3nVmU0lKYHKhC itThtdF3t6w5ZpDdPkRLIHVH/Vh/DjzbPMuRPE3dxIJ4vLYS8LWiSSGzf3erWC4l CQO/7zdid/MdQUiv+6YJZaeYgCdOr/fX3r5y3dx8kTSC8mMv1dil8JXW4TPXtzZL /RxrHNKBGRQS4ZzCx06+KZcdbry8411KspTdGO+BDY5ARirb4eCY8/RZYHevuopJ d39lcKOvci7jaR8ahlMhKXaW+I7VBg1zuo4oiT5t8udiVRYKtvipBGQREmfZtHWi VhaaJVkMT7KOXX/Fc3bxcKrSXRbdgnA9VhImlCdDOcAAmGjqDVM= =wCfH -----END PGP SIGNATURE----- --svZFHVx8/dhPCe52--