-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck,
On 8/5/2010 11:54 AM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: [OT] Tomcat 6 does not respond or freeze after startup >> >> Yup. I think Microsoft's PRNG is implemented something like this: >> >> long int random() { >> return time() % 2; >> } >> >> Super efficient! > > I think you left out the requisite buffer overflow built into every Windows > API... How about this: long int random() { return *(time()) % 2; } -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxa4WUACgkQ9CaO5/Lv0PBpngCgnBxEAtdTpdOTWvZ0BipTHjKZ Li0AnR60qrHkx/UDxjHZXziqshhMQMp+ =CXa9 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org