4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-13 12:39:22 +08:00
Corinna Vinschen 9fddfa3d16 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-10-14 10:54:30 -04:00

36 lines
1.0 KiB
Plaintext

What's new:
-----------
- Revamped pseudo console support.
- New C11 threads API: call_once, cnd_broadcast, cnd_destroy, cnd_init,
cnd_signal, cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
mtx_timedlock, mtx_trylock, mtx_unlock, thrd_create, thrd_current,
thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, thrd_yield,
tss_create, tss_delete, tss_get, tss_set.
What changed:
-------------
- Allow ~5000 child processes per process on 64 bit, ~1200 child processes
per process on 32 bit. So far, only 256 child processes per process were
supported.
- A few FAQ updates.
Bug Fixes
---------
- Iterate at least 4 times over pthread_key_t destructors per POSIX.
- The pthread_yield declaration in pthread is now visible by default
or when defining _BSD_SOURCE, too.
- 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