]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
When r241373 was merged, one file appears to have been missed from the
authorgavin <gavin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 28 Mar 2013 09:03:15 +0000 (09:03 +0000)
committergavin <gavin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 28 Mar 2013 09:03:15 +0000 (09:03 +0000)
commit559baff1048a29f0ccbdac8c456b58140e043966
tree5a0612c3cb567e5730b0a4fcd7ec5c18c3d53add
parent78dd04fe3ee4818279f046108d1414d49f0c97ef
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.

git-svn-id: svn://svn.freebsd.org/base/stable/8@248821 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/stdlib/random.c