2024-08-31 18:32:00 +09:00
|
|
|
Fixes:
|
|
|
|
------
|
|
|
|
|
|
|
|
- Fix undesired behaviour of console master thread in win32-input-mode
|
|
|
|
which is supported by Windows Termainal.
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2024-August/256380.html
|
2024-09-01 04:31:03 +09:00
|
|
|
|
|
|
|
- Fix a regression in 3.5.4 that writing to pipe extremely slows down.
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2024-August/256398.html
|
2024-10-23 11:44:34 +02:00
|
|
|
|
|
|
|
- Fix pread() and pwrite() EBADF error after fork().
|
|
|
|
Addresses: https://sourceware.org/pipermail/cygwin/2024-September/256468.html
|
2024-10-23 12:24:06 +02:00
|
|
|
|
|
|
|
- Fix timer_delete() return value which always indicated failure.
|
2024-10-20 00:59:51 +09:00
|
|
|
|
|
|
|
- Fix lockf() error which occurs when adding a new lock over multiple
|
|
|
|
locks.
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2024-October/256528.html
|
2024-10-20 01:54:00 +09:00
|
|
|
|
|
|
|
- Make lockf() return ENOLCK when the number of locks exceeds
|
|
|
|
MAX_LOCKF_CNT rather than printing a warning message.
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2024-October/256528.html
|
2024-10-31 11:11:33 +09:00
|
|
|
|
|
|
|
- Make console inherit hand over of pseudo console ownership from
|
|
|
|
parent pty.
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2024-February/255388.html
|
2024-11-07 11:47:42 +01:00
|
|
|
|
|
|
|
- Restore pipe blocking mode for non-cygwin apps.
|
|
|
|
Addresses: https://github.com/git-for-windows/git/issues/5115
|
|
|
|
|
|
|
|
- Fix a problem that signal handler destroys the FPU context.
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2024-October/256503.html
|
2024-11-11 22:38:29 -08:00
|
|
|
|
|
|
|
- Fix type of pthread_sigqueue() first parameter to match Linux.
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2024-September/256439.html
|
2024-11-16 18:09:50 +01:00
|
|
|
|
|
|
|
- Fix potential stack corruption in rmdir() in a border case.
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2024-November/256774.html
|
2024-11-14 00:44:41 +09:00
|
|
|
|
|
|
|
- Fix access violation in lf_clearlock() called from flock().
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2024-November/256750.html
|
2024-11-15 21:58:22 +09:00
|
|
|
|
|
|
|
- Fix NtCreateEvent() error in create_lock_ob() called from flock().
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2024-November/256750.html
|
Cygwin: sigtimedwait: Fix segfault when timeout is used
Previously, two bugs exist in sigtimedwait(). One is, that since
_my_tls.sigwait_mask was left non-zero if the signal arrives after
the timeout, sigpacket::process() would wrongly try to handle it.
The other is if a timeout occurs after sigpacket::process() is
called, but not completed yet, the signal handler can be called
accidentally. If the signal handler is set to SIG_DFL or SIG_IGN,
access violation will occur in both cases.
With this patch, in sigwait_common(), check if sigwait_mask == 0
to confirm that sigpacket::process() cleared it. In this case,
do not treat WAIT_TIMEOUT, but call cygwait() again to retrieve
the signal. Furthermore, sigpacket::process() checks whether
timeout occurs in sigwait_common() and if timeout already happens,
do not treat the signal as waited. In both cases, to avoid race
issues, the code is guarded by cygtls::lock().
Addresses: https://cygwin.com/pipermail/cygwin/2024-November/256762.html
Fixes: 24ff42d79aab ("Cygwin: Implement sigtimedwait")
Reported-by: Christian Franke <Christian.Franke@t-online.de>
Reviewed-by: Corinna Vinschen <corinna@vinschen.de>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
2024-11-18 00:07:12 +09:00
|
|
|
|
|
|
|
- Fix segfault in sigtimedwait() when using timeout.
|
|
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2024-November/256762.html
|
2024-11-27 16:39:37 +01:00
|
|
|
|
|
|
|
- sched_setscheduler(2) allows to change the priority if the policy is
|
|
|
|
equal to the value returned by sched_getscheduler(2).
|