在 2025-12-20 00:22, Pali Rohár 写道:
Function rand() returns random number from compile time seed, unless srand() was called. So the fallback rand() cause that mkstemp() in fallback code path always starts with the same directory name. Improve this fallback code path and XOR the rand() number with the current time. --- mingw-w64-crt/misc/mkstemp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
This change is pretty simple, so pushed too. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
