random: range is not portably RAND_MAX [BZ #7003]
On other platforms, RAND_MAX (which is the range of rand(3))
may differ from 2^31-1 (which is the range of random(3)).
Reviewed-by:
Carlos O'Donell <carlos@redhat.com>
Loading
Please register or sign in to comment