]> git.cameronkatri.com Git - bsdgames-darwin.git/commit
fix a bug in the call to srandom(): xor time() with getpid(), don't add them!
authormrg <mrg@NetBSD.org>
Tue, 31 Oct 2000 13:27:56 +0000 (13:27 +0000)
committermrg <mrg@NetBSD.org>
Tue, 31 Oct 2000 13:27:56 +0000 (13:27 +0000)
commit475daa4e639b6aaab6a075677d1d9ff3ed846f4e
treea32b24037dee90f73e1e2512f3c9fcd8ccff342d
parent36d758ad12e9b0550fdd55efce7e8a79de3ae4c6
fix a bug in the call to srandom():  xor time() with getpid(), don't add them!

now fortune(6) run in an unending loop does not appear to show the same
fortunes over and over and over.
fortune/fortune/fortune.c