aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/release/3.2.0
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2020-09-07 22:45:38 +0200
committerCorinna Vinschen <corinna@vinschen.de>2020-09-07 22:45:56 +0200
commit8d0ff0768f6c948feb1d9383c494217f886e6b17 (patch)
treeff90a7662c4a4a148c6de4e22862e231ff81f1e2 /winsup/cygwin/release/3.2.0
parent1f8e5847dff27e504949cd21bfeadb987d36ad19 (diff)
downloadnewlib-8d0ff0768f6c948feb1d9383c494217f886e6b17.zip
newlib-8d0ff0768f6c948feb1d9383c494217f886e6b17.tar.gz
newlib-8d0ff0768f6c948feb1d9383c494217f886e6b17.tar.bz2
Cygwin: drop internal O_NOSYMLINK and O_DIROPEN flags
Both flags are outdated and collide with official flags in sys/_default_fcntl.h, which may result in weird misbehaviour of file functions. O_NOSYMLINK is not used anyway. O_DIROPEN is used in fhandler_virtual and derived classes. The collision with O_NOFOLLOW results in spurious EISDIR errors when, e. g., reading files in the registry. fhandler_base::open_fs uses O_DIROPEN in the call to fhandler_base::open, but it's not used in this context further down the road. Drop both flags and create an alternative "diropen" bool flag in fhandler_virtual. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/release/3.2.0')
-rw-r--r--winsup/cygwin/release/3.2.03
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/release/3.2.0 b/winsup/cygwin/release/3.2.0
index 32cc4ed..6fdd146 100644
--- a/winsup/cygwin/release/3.2.0
+++ b/winsup/cygwin/release/3.2.0
@@ -30,3 +30,6 @@ Bug Fixes
- Fix SEGV in modfl call.
Addresses: https://cygwin.com/pipermail/cygwin/2020-August/246056.html
+
+- Fix a collision of offical and internally used file flags.
+ Addresses: https://cygwin.com/pipermail/cygwin/2020-September/246174.html