ruby-changes:51133
From: shyouhei <ko1@a...>
Date: Sat, 5 May 2018 00:20:21 +0900 (JST)
Subject: [ruby-changes:51133] shyouhei:r63340 (trunk): forgot to add INT2FIX (sorry!)
shyouhei 2018-05-05 00:20:17 +0900 (Sat, 05 May 2018) New Revision: 63340 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63340 Log: forgot to add INT2FIX (sorry!) Modified files: trunk/process.c Index: process.c =================================================================== --- process.c (revision 63339) +++ process.c (revision 63340) @@ -3298,7 +3298,7 @@ handle_fork_error(int err, int *status, https://github.com/ruby/ruby/blob/trunk/process.c#L3298 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; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/