HomeFreeBSD

When r241373 was merged, one file appears to have been missed from the
rS249031Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

When r241373 was merged, one file appears to have been missed from the
commit. Merge it:

Remove undefined behavior from sranddev() and
srandomdev(). This doesn't actually work
with any modern C compiler:

In particular, both clang and modern gcc
verisons silently elide any xor operation
with 'junk'.

No mergeinfo changes with this commit as r241475 already updated the
mergeinfo.

Approved by: re (jpaetzel)

Details

Provenance
gavinAuthored on
Parents
rS249030: Remove two no longer needed checks.
Branches
Unknown
Tags
Unknown

Event Timeline