fsx: seed more randomly with the -S0 option
When using -S0, seed the PRNG with the current time in nanoseconds, not
seconds, so consecutive runs don't accidentally use the same seed.
Differential D20078
fsx: seed more randomly with the -S0 option asomers on Apr 26 2019, 8:05 PM. Authored by Tags None Referenced Files
Subscribers
Details fsx: seed more randomly with the -S0 option When using -S0, seed the PRNG with the current time in nanoseconds, not
Diff Detail
Event TimelineComment Actions This change is very reasonable. FWIW, I wish there was a standard upstream source for fsx. A number of different OSes have their own version of fsx with their own set of bugs.
|