[newlib-cygwin] Cygwin: document proc fd changes

Corinna Vinschen corinna@sourceware.org
Sun Jan 6 19:42:00 GMT 2019


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8a17b1b2bf7a503f3d586cc9f74e2291e6fce6ba

commit 8a17b1b2bf7a503f3d586cc9f74e2291e6fce6ba
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Sun Jan 6 20:28:48 2019 +0100

    Cygwin: document proc fd changes
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 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 65868ad..03a6a3a 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 4750c0e..a1a529d 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.
 </para></listitem>
 
+<listitem><para>
+open(..., O_TMPFILE) now moves the file to the trash bin immediately,
+to free the parent directory.
+</para></listitem>
+
 </itemizedlist>
 
 </sect2>



More information about the Cygwin-cvs mailing list