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=aSqe9YeIFCsX7jP0/o01s74JqWeMQoH1dfBP9gA9WtdLW57qxQrBI gyrSHBiOEEfScjzXjJAFg1/yoYJKwL7Dyw3QicBh3ppmqQb4ydC6Pc531KoPD2pL wqpr3sPlgDbrvabPPWOoPtZyPuY0SJEnAMpr+65stlpBrjDNOv6HEE= 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=ykSiHvnH5XYe0YainE87+pr2oJU=; b=N5jiCkD73H4ZAZlFjFhjhi16uRJe tV/nKdc0Ov1HoacP1Mw6TbRn4fB/61tsw1BAWgmC8KeS5PBmxqkD/pBUjWiRmGb7 ByipMVodCP5WA6lE+hKtt1ouMwhshAukjUZn34UQRSMzIRHgKL2dlVIrqaYpUwXJ Bu36zKHDUfZdIUw= 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.4 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=kilgus, Kilgus, now!, now X-HELO: drew.franken.de X-Spam-Score: -2.899 Date: Wed, 14 Feb 2018 15:05:55 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Breaking change in Cygwin 2.10.0-1 Message-ID: <20180214140555.GG30794@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <9010244566 DOT 20180213205520 AT kilgus DOT net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="udzYTtuEmHLUHegf" Content-Disposition: inline In-Reply-To: <9010244566.20180213205520@kilgus.net> User-Agent: Mutt/1.9.1 (2017-09-22) --udzYTtuEmHLUHegf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 13 20:55, Marcel Kilgus wrote: > Yesterday I got to investigate why the unit tests for one of my > projects didn't work anymore. The tests are collected by a short Perl > program that scans all *.c files and generates the test structure. > But... it didn't find some c files anymore :-o I can see them using > "DIR", I can see them in Explorer and everywhere else, but Perl is > completely oblivious to their existence. >=20 > It took a while to understand that I recently updated Cygwin and that > this now hides "temporary" files by default. The thing is, this > "temporary" flag on Windows is so obscure that there is no UI to > set/unset it and even if it is set you usually don't notice it. Turns > out my IDE sets the flag by accident, and did so for a decade, I just > never noticed until now! It writes a temporary file and then renames > that to the final name, without removing the flag... but whatever the > reason, even Microsoft occasionally screws this up, apparently: >=20 > https://social.technet.microsoft.com/Forums/windows/en-US/5d63a03a-f711-4= 035-a601-d66994c411eb/microsoft-print-to-pdf-troublesome-t-attribute?forum= =3Dwin10itproapps >=20 > TL;DR: Please roll back the change in fhandler_disk_file.cc, do not > hide files that are otherwise completely visible in all other tools > due to a flag that nobody knows about and that cannot be unset > trivially, not even by Window's own ATTRIB command or Explorer. I changed the way O_TMPFILE files are handled. They are now created with FILE_ATTRIBUTE_TEMPORARY and FILE_ATTRIBUTE_HIDDEN combined to distinguish them from other files having set FILE_ATTRIBUTE_TEMPORARY accidentally. I uploaded new developer snapshots to https://cygwin.com/snpashots/ 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 --udzYTtuEmHLUHegf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlqEQkMACgkQ9TYGna5E T6DtNg//VAXgzp4Ntj/yOTCgtdFk9zu/VlqJvHe7lRkMLI3BS4CUr/WSLNpUODLO 5HMXxZ1EUOIp8+hZWhC/LOEZxuTiiyeAy961KAftXRov97SAcuN3b9Ft40ierVdE 4Msi7yGUBsoDlIYS0Nw0Bn8c86hh4VoiUA/qMvejtEUc9kCJAQIJaSFCcBB3oISq nkECXQSP/CodBkjI7bvUyjBWue7B0+U6sKNqlOfyM+uc805KJ6vakuO9vuXd7lJe FPJhbaJFZZRQah2V2MQI2MjW/vrJUkwlCbIRtETKHgY5ytbZbhgXR6Te7RIZ6pUw gjsbq8hAr782yFSWYqTuRHPfObOJG9M4LUev+Yjqip4DZYLMFuCRo9+NUha/SWQK MaWMPoJnRF50SN/VRe5Dz1wAtVg/x4wpVArc9Cn8oa6zfh/keOq2Zakbqghf9d3w Fa46orxPVF6dsn0ACwAMTQBq1Zz2rtcbovVezjESm5OXmm0kJtJRC6Hs809ORIo9 gZcImo++ezSp0d8nta3TLBhCTOsZ3oFmum59dArGOhENIuXg9e0ZZBWH2flqTqkl Xd7T/LZ9CzDHjxU7TR17v6s1/lkZ9ZOvyHHl8yJNVHe6mJOqVnkbhlA43Vqy+sXM u6NWrZzkDXpOWwl4U5/cnBoc7PS7xR6cl3/OkMq8jrTT5nt8vOw= =nk2+ -----END PGP SIGNATURE----- --udzYTtuEmHLUHegf--