4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-26 09:07:34 +08:00
Corinna Vinschen 324ace778f Cygwin: rand(3): implement in terms of random(3)
This makes rand(3) ISO C compliant and adds locking to avoid
race conditions.

Reported-by: Bruno Haible <bruno@clisp.org>
Fixes: 8a0efa53e4491 ("import newlib-2000-02-17 snapshot")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2023-11-14 17:52:48 +01:00

21 lines
765 B
Plaintext

Bug Fixes
---------
- Fix missing term in __cpuset_zero_s() prototoype in sys/cpuset.h.
Addresses: https://cygwin.com/pipermail/cygwin/2023-September/254423.html
- Fix hang in process initialization if cwd is unreadable.
Addresses: https://cygwin.com/pipermail/cygwin/2023-October/254604.html
- Let feraiseexcept actually raise an exception.
Addresses: https://cygwin.com/pipermail/cygwin/2023-October/254667.html
- Make random(3) family of functions thread-safe.
Addresses: https://cygwin.com/pipermail/cygwin/2023-November/254734.html
- Updates to profiler and gmondump: error display mechanics, buffer sizing,
and output formatting.
- Align behaviour of rand(3) to ISO C.
Adresses: https://cygwin.com/pipermail/cygwin/2023-November/254735.html