HomeFreeBSD

Use srandom() to init the PRNG, not srand(), since we use random().
rS232320Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Use srandom() to init the PRNG, not srand(), since we use random().
This is harmless because srandom() is called somewhere else, with time(NULL)
as a seed, but this is more correct.

Obtained from: https://bitbucket.org/mux/csup
Pointyhat to: not mux, somebody else

MFC after: 1 week

Details

Provenance
cognetAuthored on
Parents
rS232319: We shouldn't dereference curthread here
Branches
Unknown
Tags
Unknown

Event Timeline