Searched hist:181410 (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/games/random/
H A Drandomize_fd.hdiff 181410 Thu Aug 07 23:56:38 MDT 2008 ache I was confused a bit by the wrong construction with RAND_MAX
used in randomize_fd.c.
Although the max value is the same currently, RAND_MAX is for rand(),
not for random().
So move RANDOM_MAX const to the common file now, make it UL and
use in randomize_fd.c too.
(in any case its old value was 1 less then must be, as noted in
the prev. commit)
H A Drandomize_fd.cdiff 181410 Thu Aug 07 23:56:38 MDT 2008 ache I was confused a bit by the wrong construction with RAND_MAX
used in randomize_fd.c.
Although the max value is the same currently, RAND_MAX is for rand(),
not for random().
So move RANDOM_MAX const to the common file now, make it UL and
use in randomize_fd.c too.
(in any case its old value was 1 less then must be, as noted in
the prev. commit)
H A Drandom.cdiff 181410 Thu Aug 07 23:56:38 MDT 2008 ache I was confused a bit by the wrong construction with RAND_MAX
used in randomize_fd.c.
Although the max value is the same currently, RAND_MAX is for rand(),
not for random().
So move RANDOM_MAX const to the common file now, make it UL and
use in randomize_fd.c too.
(in any case its old value was 1 less then must be, as noted in
the prev. commit)

Completed in 55 milliseconds