Download raw body.
ksh(1), use arc4random_uniform(3) to calculate $RANDOM
On Fri, May 22, 2026 at 07:31:04PM +0700, Biarder wrote: > I forgot to CC tech@ on it :( > > I will try to find a way to stay deterministic and modular-bias safe. There is no bias if the modulus is a power of 2. > Thank you so much. > > 2026년 5월 22일 (금) 오후 7:21, Manuel Giraud <manuel@ledu-giraud.fr>님이 작성: > > > > Biarder <mss091204.1@gmail.com> writes: > > > > > Sorry about not reading the manual first, and thank you for letting me > > > know about that. But I think this patch is still meaningful because > > > It removes the useless change_rand function, and tiny modular bias. > > > > Ok I see (this time it is me who should have read arc4random(3) 😅). I > > also do not understand the purpose of the change_rand call but I'm not > > an expert. > > > > Finally, I think you should stand for your patch on the list (and not > > just to me ;-) where you'll have input from real experts. > > -- > > Manuel Giraud >
ksh(1), use arc4random_uniform(3) to calculate $RANDOM