opnsense-src/games/random
Andrey A. Chernov 2c38883d2a 1) Fix longstanding math bug with denominator > 1 (wrong probability).
Test case:
	random -f some_small_file 10000
(in most cases must be no output)
2) Prevent number of lines > RANDOM_MAX (overflow or nothing may be
choosed) with EFBIG err()
3) After line is found, terminate list loop for -U case too,
since nothing to do in the rest of the loop left.
2008-08-08 02:46:47 +00:00
..
Makefile flexlint rears its head as well as some style(9) fixes[1]. Fixed a 2003-02-15 10:26:10 +00:00
random.6 Sort sections. 2005-01-18 08:57:18 +00:00
random.c I was confused a bit by the wrong construction with RAND_MAX 2008-08-08 01:42:17 +00:00
randomize_fd.c 1) Fix longstanding math bug with denominator > 1 (wrong probability). 2008-08-08 02:46:47 +00:00
randomize_fd.h I was confused a bit by the wrong construction with RAND_MAX 2008-08-08 01:42:17 +00:00