From 8a17b1b2bf7a503f3d586cc9f74e2291e6fce6ba Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 6 Jan 2019 20:28:48 +0100 Subject: Cygwin: document proc fd changes Signed-off-by: Corinna Vinschen --- winsup/cygwin/release/2.12.0 | 8 ++++++++ winsup/doc/new-features.xml | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/winsup/cygwin/release/2.12.0 b/winsup/cygwin/release/2.12.0 index 65868adb7..03a6a3aaf 100644 --- a/winsup/cygwin/release/2.12.0 +++ b/winsup/cygwin/release/2.12.0 @@ -33,6 +33,9 @@ What changed: Deleting an in-use file now actually removes the file, rather than moving it to the recycler bin. +- open(..., O_TMPFILE) now moves the file to the trash bin immediately, + to free the parent directory. + Bug Fixes --------- @@ -44,3 +47,8 @@ Bug Fixes Addresses: https://cygwin.com/ml/cygwin/2018-11/msg00171.html - Fix a bug in recognizing remote FAT/FAT32/exFAT correctly. + +- Allow open(2)/stat(2)/linkat(2) of a file via /proc/PID/fd/DESCRIPTOR + even if file has been deleted. + Addresses: https://cygwin.com/ml/cygwin/2018-12/msg00125.html + https://cygwin.com/ml/cygwin/2018-12/msg00028.html diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml index 4750c0e9a..a1a529d32 100644 --- a/winsup/doc/new-features.xml +++ b/winsup/doc/new-features.xml @@ -52,6 +52,11 @@ Use the new POSIX unlink semantics on NTFS starting with Windows 10 than moving it to the recycler bin. + +open(..., O_TMPFILE) now moves the file to the trash bin immediately, +to free the parent directory. + + -- cgit v1.2.3