[Mingw-w64-public] [PATCH] crt: Provide fcloseall as alias to _fcloseall

2024-03-04 Thread Martin Storsjö
MSVC does provide this function without an underscore prefix (via the oldnames library) just like a number of other functions. In mingw-w64 headers, we already provide a declaration of this function, just like many others, but it was missing from the import libraries. Provide it as an alias,

Re: [Mingw-w64-public] [PATCH] Use rand_s in mkstemp function

2024-03-04 Thread Martin Storsjö
On Mon, 4 Mar 2024, Martin Storsjö wrote: Hi, On Mon, 4 Mar 2024, Mateusz Mikuła wrote: rand is not random enough and may lead to clashing temporary directories with multiple parallel link processes as it was observed on Rust's CI. It can be reproduced with these commands (run them all in

Re: [Mingw-w64-public] [PATCH] crt: Provide fcloseall as alias to _fcloseall

2024-03-04 Thread LIU Hao
在 2024-03-04 16:03, Martin Storsjö 写道: MSVC does provide this function without an underscore prefix (via the oldnames library) just like a number of other functions. In mingw-w64 headers, we already provide a declaration of this function, just like many others, but it was missing from the

Re: [Mingw-w64-public] [PATCH] crt: Provide fcloseall as alias to _fcloseall

2024-03-04 Thread Martin Storsjö
On Mon, 4 Mar 2024, LIU Hao wrote: 在 2024-03-04 16:03, Martin Storsjö 写道: MSVC does provide this function without an underscore prefix (via the oldnames library) just like a number of other functions. In mingw-w64 headers, we already provide a declaration of this function, just like many