[libcxx-commits] [PATCH] D98703: [libcxx] [test] Readd randomness to temporary directory names

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 16 12:36:10 PDT 2021


mstorsjo added a comment.

In D98703#2629946 <https://reviews.llvm.org/D98703#2629946>, @Mordante wrote:

> Just curious but can't we use `tmpnam`?

Maybe - that relies on some sort of randomness I guess, and I dunno if it exists in the restricted environments where one would build with random device disabled. On the other hand, the test environment probably still is fully featured.

`tmpnam` itself seems to be kinda discouraged/deprecated though...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98703/new/

https://reviews.llvm.org/D98703



More information about the libcxx-commits mailing list