Searched hist:181410 (Results 1 - 3 of 3) sorted by relevance
/freebsd-9.3-release/games/random/ | ||
H A D | randomize_fd.h | diff 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 D | randomize_fd.c | diff 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 D | random.c | diff 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