Date: Mon, 26 Feb 2001 19:10:09 +0300 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: "Jacques A. Vidrine" <n@nectar.com>, arch@freebsd.org, kris@obsecurity.org Subject: Re: rand.c patch for review (was: Re: cvs commit: ports/astro/xglobe/files patch-random) Message-ID: <20010226191008.A72434@nagual.pp.ru> In-Reply-To: <20010226174852.B435@ringworld.oblivion.bg>; from roam@orbitel.bg on Mon, Feb 26, 2001 at 05:48:53PM %2B0200 References: <20010225131002.A38192@mollari.cthul.hu> <20010225132152.A39554@mollari.cthul.hu> <20010226005004.B59772@nagual.pp.ru> <20010225135429.A47615@mollari.cthul.hu> <20010226020827.A61007@nagual.pp.ru> <20010225151519.A63582@mollari.cthul.hu> <20010226022902.A61216@nagual.pp.ru> <20010225173445.A37510@spawn.nectar.com> <20010226024456.A61566@nagual.pp.ru> <20010226174852.B435@ringworld.oblivion.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 26, 2001 at 17:48:53 +0200, Peter Pentchev wrote: > Just thought I'd throw two cents before any patch is applied.. > > It seems that there are people who need the old rand() behavior. > How about isolating the old (current) rand(), srand(), rand_r() and > whatever else is needed, to a separate library (-lrand?), and > announce that programs that need old (traditional) rand() behavior > need to be linked against -lrand? We already go throught all this logn tume ago with the same change with random() (which is NOT original code). Practice says that nobody seriously want old behaviour. Moreover, standards (like SUSv2 f.e.) don't guarantee that the formula must be the same on different machines or even through different libc versions. It must be the same for single application run only, so in theory we can change formula for each application run :-) So, I plan to skip this step as superfuous. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010226191008.A72434>