From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31743 invoked by alias); 14 Feb 2018 14:06:05 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 31723 invoked by uid 89); 14 Feb 2018 14:06:05 -0000 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 Received: from mail-n.franken.de (HELO drew.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Feb 2018 14:06:00 +0000 Received: from perth.hirmke.de (aquarius.franken.de [193.175.24.89]) by mail-n.franken.de (Postfix) with ESMTP id 0B621721E280C for ; Wed, 14 Feb 2018 15:05:57 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by perth.hirmke.de (Postfix) with ESMTP id DF5E18623D6 for ; Wed, 14 Feb 2018 15:05:56 +0100 (CET) X-Spam-Score: -2.899 Received: from perth.hirmke.de ([127.0.0.1]) by localhost (perth.hirmke.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JSyTYaKOPHuH for ; Wed, 14 Feb 2018 15:05:55 +0100 (CET) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by perth.hirmke.de (Postfix) with ESMTP id DB834862382 for ; Wed, 14 Feb 2018 15:05:55 +0100 (CET) Received: by calimero.vinschen.de (Postfix, from userid 500) id CEE41A8055A; Wed, 14 Feb 2018 15:05:55 +0100 (CET) Date: Wed, 14 Feb 2018 14:06:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Breaking change in Cygwin 2.10.0-1 Message-ID: <20180214140555.GG30794@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <9010244566.20180213205520@kilgus.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) X-SW-Source: 2018-02/txt/msg00162.txt.bz2 --udzYTtuEmHLUHegf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1923 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" Content-length: 833 -----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--