mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-13 04:29:09 +08:00
Cygwin: timer_delete: Fix return value
timer_delete() always returned failure. This issue has been detected by 'stress-ng --hrtimers 1'. Fixes: 229ea3f23c015 ("Cygwin: posix timers: reimplement using OS timer") Signed-off-by: Christian Franke <christian.franke@t-online.de>
This commit is contained in:
parent
0281d2c8e2
commit
6e39f397b5
@ -530,6 +530,7 @@ timer_delete (timer_t timerid)
|
||||
__leave;
|
||||
}
|
||||
delete in_tt;
|
||||
ret = 0;
|
||||
}
|
||||
__except (EFAULT) {}
|
||||
__endtry
|
||||
|
@ -10,3 +10,5 @@ Fixes:
|
||||
|
||||
- Fix pread() and pwrite() EBADF error after fork().
|
||||
Addresses: https://sourceware.org/pipermail/cygwin/2024-September/256468.html
|
||||
|
||||
- Fix timer_delete() return value which always indicated failure.
|
||||
|
Loading…
x
Reference in New Issue
Block a user