2023-03-14 16:56:01 +08:00
|
|
|
Bug Fixes
|
|
|
|
---------
|
|
|
|
|
2023-03-16 04:50:32 +08:00
|
|
|
- Fix CPU_SET(3) macro type mismatch by making the macros type-safe.
|
|
|
|
Addresses https://cygwin.com/pipermail/cygwin/2023-March/253220.html
|
|
|
|
|
|
|
|
- kill(1): don't print spurious error message.
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2023-March/253291.html
|
2023-03-29 16:18:23 +08:00
|
|
|
|
|
|
|
- Align behaviour of dirname in terms of leading slashes to POSIX:
|
|
|
|
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html
|
2023-04-14 09:52:08 +08:00
|
|
|
|
|
|
|
- Fix reading CONIN$ in non cygwin apps when stdin is not a pty.
|
|
|
|
Addresses https://cygwin.com/pipermail/cygwin/2023-April/253424.html
|
2023-04-18 16:12:03 +08:00
|
|
|
|
|
|
|
- Fix bug in cygheap allocation size computation after fork. Addresses:
|
|
|
|
https://cygwin.com/pipermail/cygwin-developers/2023-April/012620.html
|
2023-04-18 19:43:06 +08:00
|
|
|
|
|
|
|
- Fix return value of ilogbl(NaN).
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2023-April/253511.html
|
Cygwin: fix errno values set by readlinkat
readlinkat(fd, "", ...) is supposed to return ENOENT per POSIX,
but Cygwin returns EBADF.
At the same time, we have to maintain the special feature of
glibc that readlinkat(fd, "", ...) operates on fd, if fd is pointing
at a symlink opened with O_PATH|O_NOFOLLOW.
And, while fixing that, readlinkat(fd, path, ...) *still* has to set errno
to EBADF, if fd is an invalid descriptor *and* path is a relative path.
This required to change the evaluation order in the helper function
gen_full_path_at.
Last but not least, in case of the aforementioned glibc-like special
handling for symlink descriptors, we have to make sure that errors from
gen_full_path_at are not spilled into that special handling.
Fixes: 6cc05784e16a ("Cygwin: readlinkat: allow pathname to be empty")
Reported-by: Bruno Haible <bruno@clisp.org>
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2023-04-18 19:52:50 +08:00
|
|
|
|
|
|
|
- Fix error handling in readlinkat.
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2023-April/253510.html
|
2023-04-19 00:18:27 +08:00
|
|
|
|
|
|
|
- Fix return code and errno set by renameat2, if oldfile and newfile
|
|
|
|
refer to the same file, and the RENAME_NOREPLACE flag is set.
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2023-April/253514.html
|