<div class="gmail_quote">On Sat, May 5, 2012 at 10:36 AM, Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr" target="_blank">baldrick@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> Won't this give us really bad random numbers on system with no arc4random (linux)? I'm thinking of multiple invocations of clang in the same second all getting the same "random" file name. Does Linux have another source of pseudorandom numbers?<br>

<br>
</div>If this is about getting unique temporary files, shouldn't tmpfile or mkstemp be<br>
used?<br></blockquote></div><br>Yes, and it seems to have caused: PR12743<div><br></div><div>This is *not* the way to get temporary files. There are proper OS APIs for that we should be using, not RNGs....</div>