[webkit-reviews] review denied: [Bug 6315] new Math.random isn't portable to Windows : [Attachment 5402] Patch to implement Math.random

bugzilla-request-daemon at opendarwin.org bugzilla-request-daemon at opendarwin.org
Tue Jan 3 13:42:10 PST 2006


Darin Adler <darin at apple.com> has denied Justin Haygood <jhaygood at spsu.edu>'s
request for review:
Bug 6315: new Math.random isn't portable to Windows
http://bugzilla.opendarwin.org/show_bug.cgi?id=6315

Attachment 5402: Patch to implement Math.random 
http://bugzilla.opendarwin.org/attachment.cgi?id=5402&action=edit

------- Additional Comments from Darin Adler <darin at apple.com>
I'd like to see something that just uses something like srand(time(0)) like the
earlier version of the rand() patch rather than using rand_s().

If we switch to rand_s() on Windows, we should switch to random() on OS X too
(and I suggest we do neither).



More information about the webkit-reviews mailing list