Browse Source

[tests] force Fcntl::F_SETFD() autovivification (#3110)

x-ref:
  "RPM build fails at Lighttest.pm"
  https://redmine.lighttpd.net/issues/3110
master
Glenn Strauss 2 weeks ago
parent
commit
a2bfccd1be
  1. 2
      tests/LightyTest.pm

2
tests/LightyTest.pm

@ -213,7 +213,7 @@ sub start_proc {
}
else {
require Fcntl;
fcntl($SOCK, Fcntl::F_SETFD, 0); # clr FD_CLOEXEC
fcntl($SOCK, Fcntl::F_SETFD(), 0); # clr FD_CLOEXEC
}
exec @cmdline or die($?);
}

Loading…
Cancel
Save