4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-03-04 22:15:52 +08:00
Corinna Vinschen 19955359c7 Cygwin: fix up cached DOS file attributes after file creation
The file attributes after creating a file are not necessarily
identical to the attributes we passed as argument to NtCreateFile.
This results in subsequent operations like fchmod or facl to
set the DOS file attributes to unexpected values.

The fix is to request file attributes from the OS after file creation
and cache those.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2021-11-16 19:59:42 +01:00

25 lines
1.0 KiB
Groff

Bug Fixes
---------
- Fix issue that new pipe code doesn't handle reading zero byte reads
emitted by some non-Cygwin apps.
Addresses: https://cygwin.com/pipermail/cygwin/2021-November/249844.html
- Make sure that "X:" paths are not handled as absolute DOS paths in
fstatat and other ...at calls. "X:/" still is handled as absolute
path.
Addresses: https://cygwin.com/pipermail/cygwin/2021-November/249837.html
- Fix showing DLL version info from native Windows tools.
Addresses: https://cygwin.com/pipermail/cygwin/2021-November/249867.html
- Handle Unicode surrogate pairs in console. Cygwin console does not
handle surrogate pairs correctly at the moment. Fix issue that
running bash in Windows Terminal and inserting an emoji does not
work as expected.
Addresses: https://github.com/git-for-windows/git/issues/3281
- Fix long-standing problem that fchmod or facl on newly created files
screw up the DOS file attributes.
Addresses: https://cygwin.com/pipermail/cygwin/2021-November/249909.html