mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
forgot to add INT2FIX (sorry!)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1096be5ac6
commit
a99d017db7
1 changed files with 1 additions and 1 deletions
|
@ -3298,7 +3298,7 @@ handle_fork_error(int err, int *status, int *ep, volatile int *try_gc_p)
|
|||
return 0;
|
||||
}
|
||||
else {
|
||||
rb_protect(rb_thread_sleep_that_takes_VALUE_as_sole_argument, 1, &state);
|
||||
rb_protect(rb_thread_sleep_that_takes_VALUE_as_sole_argument, INT2FIX(1), &state);
|
||||
if (status) *status = state;
|
||||
if (!state) return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue