From owner-freebsd-arch Mon Feb 26 8:10:23 2001 Delivered-To: freebsd-arch@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 6BE5637B491 for ; Mon, 26 Feb 2001 08:10:20 -0800 (PST) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.11.2/8.11.2) id f1QGAA872505; Mon, 26 Feb 2001 19:10:10 +0300 (MSK) (envelope-from ache) Date: Mon, 26 Feb 2001 19:10:09 +0300 From: "Andrey A. Chernov" To: "Jacques A. Vidrine" , 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> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010226174852.B435@ringworld.oblivion.bg>; from roam@orbitel.bg on Mon, Feb 26, 2001 at 05:48:53PM +0200 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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