summaryrefslogtreecommitdiffstats
path: root/share/zoneinfo
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2008-08-08 02:46:47 +0000
committerache <ache@FreeBSD.org>2008-08-08 02:46:47 +0000
commit42825e9561229aeb9c6ca0cc9a84fc439960f241 (patch)
treecb1e18eaabc237340aafc9f33b13f71f70f4ff3a /share/zoneinfo
parent823689b09c9db6b0a03a78837e4c02b453e37d8d (diff)
downloadFreeBSD-src-42825e9561229aeb9c6ca0cc9a84fc439960f241.zip
FreeBSD-src-42825e9561229aeb9c6ca0cc9a84fc439960f241.tar.gz
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.
Diffstat (limited to 'share/zoneinfo')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud