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=ENhu2x382535emozdJOcJjaO0uV0QdYSdN2txbvB331VLy52i7Ki7 | |
ilywXG5ce3tEIbkUBLmtlQu6HRlKB58orbTl0VoSq9IJ0MWUF5YZxERe394J6mMz | |
PyeGo2RchbgXFHaHOyQZ0iKXebian80t5L9/N0AJ8atlV/nAFctuuc= | |
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=hmj6fOFr16Jv1WDXnRfyrXIsHfg=; b=So632Qf2pX6Gp1SaswbzGMhsjEaQ | |
Qvts3ADFm9l/qcI+6/1luUpVJGayhhqYQeqheVwKHSghxS0iffMGRdyQZWItqlFW | |
O2/mDZ26vv6sWFhMGUWkdeYcZOwTyg0uAvPaWTpM+DeOOGwQVRgpZpa5aJX3tr7j | |
QXMmfbhMZtPGWgw= | |
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-Spam-SWARE-Status: | No, score=-101.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= |
X-HELO: | mout.kundenserver.de |
Date: | Thu, 5 Dec 2019 13:52:27 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: 3.0.7(0.338/5/3): Possible reference to Developer's instances of dev files in deployed build |
Message-ID: | <20191205125227.GH3337@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20191204210222 DOT GA3578 AT shackleton DOT labs DOT net> <754a577d-dac1-16e0-56a7-8be8ab1d424c AT cornell DOT edu> <20191205091807 DOT GG3337 AT calimero DOT vinschen DOT de> |
MIME-Version: | 1.0 |
In-Reply-To: | <20191205091807.GG3337@calimero.vinschen.de> |
User-Agent: | Mutt/1.12.1 (2019-06-15) |
--w2JjAQZceEVGylhD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec 5 10:18, Corinna Vinschen wrote: > On Dec 4 21:41, Ken Brown wrote: > > The difference is that NtCreateFile doesn't fail with=20 > > STATUS_OBJECT_NAME_NOT_FOUND in the other cases, so the code containing= the=20 > > assertion doesn't get run. > >=20 > > BTW, I just tried the following on my system: > >=20 > > $ ls z:\\ > > ls: cannot access 'z:\': No such file or directory > >=20 > > strace shows that NtCreateFile fails with STATUS_OBJECT_PATH_NOT_FOUND = in this=20 > > case, so again the code containing the assertion is not run. > >=20 > > To be continued... >=20 > So, maybe we could just check if ext_here - path > 2, i. e. >=20 > if (status =3D=3D STATUS_OBJECT_NAME_NOT_FOUND && ext_here - path > 2) >=20 > That excludes "X:" paths from this special handling for DOS-only drives. The only problem here is that I can't reproduce the assertion failure. I created a Samba share on a Linux machine, mounted it as drive Z:, and set the "always available offline" property of the drive. After syncing I accessed the drive, then I stopped Samba on the Linux server to switch the drive into offline mode. Then I ran `ls -la /cygdrive/z'. After a few secs I got the offline content cached on the local machine. I also tried `ls -la /cygdrive/' and `cd /cygdrive; ls -la', but every time I got the expected output. In the cases I tried to list /cygdrive itself I got the expected output, all drives except the z drive. I tried this with Cygwin 3.1.0-0.8.x86_64 on Windows 7 and Windows 10. So either there's something very special in Wilfed's setup, or I'm doing something wrong. Which is it? Corinna --=20 Corinna Vinschen Cygwin Maintainer --w2JjAQZceEVGylhD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl3o/YsACgkQ9TYGna5E T6CRMw//bFYFvoGZSBzr8igIEDt7J4Ey+7ey78AsF8o98QQs4oQsPzqdcxHiquoQ dyiTP2LVyszXHSoXFSzlQaMMEgbd0ua+qhcvdDG1TosZ59sLSD7biOmC+VA5Vm2f 55pYllVSk81y2IFf2LbbCZIcCPWxxkeBEjdS/9dlWd2RDa0SE3SL8ZKzgkVGoJ+C pLa2m3tsffs2twJOyjU/TqiWo748mQzkhi+0tESOQaelGqrCGfMbYJtKMx6VqxIO 4bIaiZZrkm2PxGN4MYQCNcia84Hg7Ul8AWTSVcftq9uQV9gIpTsY9kdiYJdMNY+R mmTJo2Z47btkyJSuwSRgoT8EjzJ85kodyn+xtm3mYd/HqQHSL7pyyBLw742gzqad SRc4NRJX2aOcpJ/PNimvDdqov2woem7fV3DSt0BxVQJ6BaNqfW700aycBWH7O1eC v5+0OuJVmQmygOLrh84rr9OJ7bey+soxbeCHkf5Qvv68yQmj75aBmg4BSEpBQX8J m/PT4LITeS+GdyZKRNiq1VW8iqty/mtoaGB1mQfQVm43Z0Dz0xPdIg0ME/uedwKZ 3VZjOD31hCRAk4Fe/ywQkIHL8IdSNST1e+6eZcEHrvonM036S6OHpzFqE2J/yZqI ojMM4IPa90meitmg+zIplE/NLFXCBMY7st6ZqJXtvy98T/5/Z5M= =YNg/ -----END PGP SIGNATURE----- --w2JjAQZceEVGylhD--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |