4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-19 15:32:10 +08:00
Corinna Vinschen 7ae73be141 Cygwin: improve O_TMPFILE handling
Windows does not remove FILE_ATTRIBUTE_TEMPORARY by itself after a
file has been closed.  It's just some attribute which can be set or
removed at will, despite its purpose.

Apparently there are tools out there which use FILE_ATTRIBUTE_TEMPORARY
accidentally or wrongly, even Microsoft's own tools are affected.  In
the end, the filesystem is potentially full of files with this attribute
set.

Implement O_TMPFILE files with FILE_ATTRIBUTE_TEMPORARY and
FILE_ATTRIBUTE_HIDDEN set.  This combination is pretty unlikely.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-02-14 12:55:24 +01:00
..
2016-11-24 16:09:31 +01:00
2016-08-23 15:07:42 +01:00
2016-06-25 00:43:01 +02:00
2016-06-24 23:32:39 +02:00
2018-02-14 12:55:24 +01:00
2018-02-14 12:55:24 +01:00
2015-03-03 12:58:34 +00:00
2016-06-24 23:32:39 +02:00
2015-11-18 19:09:47 +01:00
2017-03-27 22:03:58 +01:00
2017-03-27 22:03:58 +01:00
2015-08-17 11:05:43 +02:00
2016-06-23 21:30:15 +02:00
2018-02-07 13:07:44 +01:00
2018-02-07 13:07:44 +01:00
2016-06-24 23:32:39 +02:00
2018-02-07 13:07:44 +01:00
2017-03-27 22:03:58 +01:00
2018-02-07 13:07:44 +01:00
2018-02-07 13:07:44 +01:00
2018-02-07 13:07:44 +01:00
2016-06-23 16:56:41 +02:00
2017-04-24 17:14:03 +02:00
2017-04-24 17:14:03 +02:00