mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix missing variable
It seems like no one has tried to compile on a platform without `setsid` for almost a quarter of a century.
This commit is contained in:
parent
c4dadfbd47
commit
cccffeff2f
1 changed files with 1 additions and 1 deletions
|
@ -5258,7 +5258,7 @@ static rb_pid_t
|
||||||
ruby_setsid(void)
|
ruby_setsid(void)
|
||||||
{
|
{
|
||||||
rb_pid_t pid;
|
rb_pid_t pid;
|
||||||
int ret;
|
int ret, fd;
|
||||||
|
|
||||||
pid = getpid();
|
pid = getpid();
|
||||||
#if defined(SETPGRP_VOID)
|
#if defined(SETPGRP_VOID)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue