From owner-freebsd-current Sun Feb 2 10:38:29 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C945637B401; Sun, 2 Feb 2003 10:38:28 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE5FA43E4A; Sun, 2 Feb 2003 10:38:27 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.6/8.12.6) with ESMTP id h12IcQd6066513; Sun, 2 Feb 2003 21:38:26 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.6/8.12.6/Submit) id h12IcQUd066512; Sun, 2 Feb 2003 21:38:26 +0300 (MSK) (envelope-from ache) Date: Sun, 2 Feb 2003 21:38:26 +0300 From: "Andrey A. Chernov" To: phk@freebsd.org Cc: Mark Murray , Doug Barton , Kris Kennaway , current@freebsd.org Subject: Re: rand() is broken Message-ID: <20030202183826.GA66487@nagual.pp.ru> References: <20030202182009.GA66318@nagual.pp.ru> <29596.1044210770@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <29596.1044210770@critter.freebsd.dk> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Feb 02, 2003 at 19:32:50 +0100, phk@freebsd.org wrote: > > Anyway, last time we discussed this, I think we stuck with the rand() > we had because we feared that people were using it's repeatable well > documented sequence of random numbers in regression testing. As documented, it must be repeatable across the calls for same seed, that is all. It not means repeatable accross platforms or across different OS versions. In fact it is already not repeatable across different OS'es, so regression is limited. Also, regression must not stop bugs fixing progress in anycase. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message