Date: Sat, 3 Nov 2001 04:02:57 +0300 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: "David E. O'Brien" <obrien@FreeBSD.org> 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> In-Reply-To: <200111022126.fA2LQFW51043@freefall.freebsd.org> References: <200111022126.fA2LQFW51043@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011103040254.A152>