https://github.com/python/cpython/commit/fdf064ca8101bd5ffdc4b34c691cf34266093c99
commit: fdf064ca8101bd5ffdc4b34c691cf34266093c99
branch: main
author: Carlo Bramini <[email protected]>
committer: vstinner <[email protected]>
date: 2026-05-13T21:09:24+02:00
summary:
gh-148461: Use arc4random_buf() in mimalloc on Cygwin (#148462)
See also issue #113141.
files:
M Objects/mimalloc/prim/unix/prim.c
diff --git a/Objects/mimalloc/prim/unix/prim.c
b/Objects/mimalloc/prim/unix/prim.c
index 1598ebabf0a4da..6f78eb72789e8e 100644
--- a/Objects/mimalloc/prim/unix/prim.c
+++ b/Objects/mimalloc/prim/unix/prim.c
@@ -751,7 +751,7 @@ bool _mi_prim_random_buf(void* buf, size_t buf_len) {
#elif defined(__ANDROID__) || defined(__DragonFly__) || \
defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
- defined(__sun)
+ defined(__sun) || defined(__CYGWIN__)
#include <stdlib.h>
bool _mi_prim_random_buf(void* buf, size_t buf_len) {
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]