newlib-cygwin/winsup
Corinna Vinschen 8d0ff0768f 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>
2020-09-07 22:45:56 +02:00
..
CVSChangeLogs.old
cygserver Cygwin: cygserver: build with -Wimplicit-fallthrough=5 2020-08-07 13:40:13 -04:00
cygwin Cygwin: drop internal O_NOSYMLINK and O_DIROPEN flags 2020-09-07 22:45:56 +02:00
doc Cygwin: Add Cygwin 3.2 release info 2020-08-30 14:27:43 +02:00
lsaauth
testsuite Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
utils Cygwin: strace: ignore GCC exceptions 2020-08-20 10:48:48 -04:00
CONTRIBUTORS Cygwin: Add David Macek to CONTRIBUTORS 2020-04-21 10:39:36 +02:00
COPYING
COPYING.LIB
CYGWIN_LICENSE
Makefile.common
Makefile.in
README
acinclude.m4
aclocal.m4
autogen.sh
c++wrap
ccwrap
config.guess
config.sub
configure Cygwin: seteuid: disable unused funcs and lsaauth subdir 2019-01-28 10:24:18 +01:00
configure.ac Cygwin: seteuid: disable unused funcs and lsaauth subdir 2019-01-28 10:24:18 +01:00
configure.cygwin
install-sh

README

THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESSED OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Cygwin documentation is available on the net at https://cygwin.com
You might especially be interested in

https://cygwin.com/faq/faq.html#faq.programming.building-cygwin