From owner-cvs-all Fri Nov 2 17: 3:12 2001 Delivered-To: cvs-all@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id BD62537B408; Fri, 2 Nov 2001 17:03:07 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.6/8.11.6) id fA3133a00232; Sat, 3 Nov 2001 04:03:04 +0300 (MSK) (envelope-from ache) Date: Sat, 3 Nov 2001 04:02:57 +0300 From: "Andrey A. Chernov" To: "David E. O'Brien" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/contrib/awk builtin.c Message-ID: <20011103040254.A152@nagual.pp.ru> References: <200111022126.fA2LQFW51043@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200111022126.fA2LQFW51043@freefall.freebsd.org> User-Agent: Mutt/1.3.23i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Nov 02, 2001 at 13:26:15 -0800, David E. O'Brien wrote: > obrien 2001/11/02 13:26:15 PST > > Modified files: > contrib/awk builtin.c > Log: > Merge revs 1.9 (don't choke on long lines), > rev 1.3 (use srandom(time() ^ getpid())) into Gawk 3.1.0. Much better thing to use (getpid() << 16) here instead of getpid() since last one affect only lower bits of seed, so we can have almost the same seed for sequence of fast-started awk's resulting the same random sequence. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message