On 8/16/22 12:59, Bruno Haible wrote:
Since this contradicts what you debugged on mingw, I ran the test 10000
times on native Windows. Result:
   - on 32-bit mingw, no failure.
   - on 64-bit mingw, around 30 failures (or around 10 failures with Paul's
     newest patch). That is, a probability of ca. 0.3% of getting the same
     file name as on the previous call.

That's odd, for two reasons. First, 64-bit and 32-bit mingw shouldn't differ, as they both use uint_fast64_t which should be the same width on both platforms. Second, I could not reproduce the problem on 64-bit Ubuntu x86-64 (after altering tempname.c to always define HAS_CLOCK_ENTROPY to false) test-tempname always succeeded in 10000 tries.

Could you investigate further why mingw 64-bit fails?

Reply via email to