mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e9cf3b3bf5
commit
46620a8772
12 changed files with 510 additions and 204 deletions
1
random.c
1
random.c
|
@ -114,6 +114,7 @@ rb_f_srand(argc, argv, obj)
|
|||
VALUE a;
|
||||
unsigned int seed, old;
|
||||
|
||||
rb_secure(4);
|
||||
if (rb_scan_args(argc, argv, "01", &a) == 0) {
|
||||
static int n = 0;
|
||||
struct timeval tv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue