Date: Mon, 23 Apr 2001 03:14:28 -0700 (PDT) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib rand.c random.c Message-ID: <200104231014.f3NAES957991@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2001/04/23 03:14:28 PDT
Modified files:
lib/libc/stdlib rand.c random.c
Log:
srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allow
change of high word part too to produce more interesting seed distribution.
Revision Changes Path
1.5 +2 -2 src/lib/libc/stdlib/rand.c
1.15 +2 -2 src/lib/libc/stdlib/random.c
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?200104231014.f3NAES957991>
