Date: Tue, 31 May 2016 17:25:46 +0300 From: Andrey Chernov <ache@freebsd.org> To: Bruce Evans <brde@optusnet.com.au> Cc: pfg@freebsd.org, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r300956 - head/lib/libc/stdlib Message-ID: <4f2f6e12-a50e-5463-75a4-6bb8d91350ae@freebsd.org> In-Reply-To: <20160531224808.F3933@besplex.bde.org> References: <201605291357.u4TDv6No071840@repo.freebsd.org> <20160530110541.I924@besplex.bde.org> <b7074832-ba30-0371-ee8a-a51a19aadea0@freebsd.org> <20160531155327.I1534@besplex.bde.org> <af15ef04-74f5-6a02-9822-2cacaa7ded1b@freebsd.org> <20160531185907.Y2047@besplex.bde.org> <dfce72b3-3f49-1d82-fc8b-7bccae57ade6@freebsd.org> <20160531224808.F3933@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 31.05.2016 17:17, Bruce Evans wrote: > Our rand should use just 1, and it is dangerous to change RAND_MAX again, > but can we even change the sequences? Something might depend on > reproducing the old sequences. This question already arises many times. The sequence must be reproducible during program runtime only, it is impossible to change implementation at all otherwise. If someone needs something always reproducible it needs to implement their own PRNG.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f2f6e12-a50e-5463-75a4-6bb8d91350ae>