delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/02/13/14:55:36

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:message-id:to:subject:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=Zk1
+OtIjvrhXAVZzxzawjZw94gnS3vNp0N74bXHbnqFEoVyfBcfwk1kckFobSbjf1ro
xkIf8W6Zttlw6sm+F5jDEQ7DgrMQXnIA8cKK5IHDP7g++rRtPbwTJD1ywCOjbj/s
4Msk4kNPS0BONMuyGKRjoIpnDOnUXJ74rf3fUKKs=
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:message-id:to:subject:mime-version
:content-type:content-transfer-encoding; s=default; bh=JimYoEPNK
cezgajsRoUaAPmJS7I=; b=t8rM9rK9l5T5U1HKz+gvCH8O7xSm01aMljKIJia/r
x8b8HnX4bEDG2wd/oV8FFIWFROWjhqSUhsGeZZWPoUGW+HObhO3KfNG15/MwrFGC
w6Dq6MTvYj0UjRGrCHb/gqiwC15xPnQ3XJJc07iunLwhkEHNr4vbJOHJuACeQEJV
ds=
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=0.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=roll, decade, UD:technet.microsoft.com, IDE
X-HELO: mout.kundenserver.de
Date: Tue, 13 Feb 2018 20:55:20 +0100
From: Marcel Kilgus <cygwin AT mail DOT kilgus DOT net>
Message-ID: <9010244566.20180213205520@kilgus.net>
To: cygwin AT cygwin DOT com
Subject: Breaking change in Cygwin 2.10.0-1
MIME-Version: 1.0
X-UI-Out-Filterresults: notjunk:1;V01:K0:cFCc3t8Lgbo=:FCL3KLP8djagbw2Vnhva0m 5Uo9NrsVJPXXKyGsGKlHfVUukEDNbmj5MZdl0Rpbj/xHeTDws2vYVUE9PjiD502gqpTEEBq29 QexEWp/+nTXouqABYyT0PKBTwQ4ul3u47ZZSIe7ltD5dcX0CE/ILKAAEdk4EhFHaBZmD/7bVf 1L3uxZo3y8ZrH1kkKY1v9EULqh8urMT9BQSdGstFQvS53eiwJqRI7BWamx0mg5SlieUmixv+c mHSos4weRhnfCRwBkUlI1x6erksUBKCW9ssPDkKduRu6gkEPVlXKVLFyMjBN8XlAiE4OTBDrd OQyEBgYSeJ37o3jJ2KyGv9waitaYj3M5nLauQoYMDu+3uGl+iz0SStCPeve/QB0H/ph0kXZgT 2NEHJZSWCN+W2fNbUZGj7gfAsIF56Rx4wGATV1htBUVfSuy7Jaa3Y+v8mNIgBOxXua1fE5dAh hn2jx+SUY//M33t69C1L6uJEwj8Eo1DuqQxiL0FVy30dvyM8EYzW+zkTsfZyR3kMKCUW/wtDQ FlpJrFzYxj++yeNg+F/bdLX/pO3ACMcZcbbGicaGL2G4tOl5NWbgYMvRbJpzZUz1VOHqz1JEW N95XB/RRm1nttPcYiwDpSpoxD3RDadiobuMj9b8/5H3BBjE2Vh7CwX2UGQjZZnFGycdlxMedf sHVG6dpCEkxX/+M0pW1Jqu+zmshIbIeLZlfpmFmP0jlhu4KQaVkctmwXIgqNiSOkq+3RuulKn OU4lD063fDkLqr2TZh5Jc2/BQ0ADuAodogDHcnoyrFNyOp+sJm8z4cHXTQ0=
X-IsSubscribed: yes

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.

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:

https://social.technet.microsoft.com/Forums/windows/en-US/5d63a03a-f711-4035-a601-d66994c411eb/microsoft-print-to-pdf-troublesome-t-attribute?forum=win10itproapps

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.

Thanks, Marcel


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019