On Monday, 3 July 2017 at 20:34:00 UTC, Ali Çehreli wrote:
On 07/03/2017 07:53 AM, Vladimir Panteleev wrote:
> That code is pretty old. std.process was changed to use poll
when
> available over a year ago:
>
> https://github.com/dlang/phobos/pull/4114
>
> Update your D installation?
Jonathan
On 07/03/2017 07:53 AM, Vladimir Panteleev wrote:
> That code is pretty old. std.process was changed to use poll when
> available over a year ago:
>
> https://github.com/dlang/phobos/pull/4114
>
> Update your D installation?
Jonathan is hailing from Weka. :) As evidenced from Johan's recent
On Monday, 3 July 2017 at 14:48:38 UTC, Jonathan Shamir wrote:
if (!(config & Config.inheritFDs))
{
import core.sys.posix.sys.resource;
rlimit r;
getrlimit(RLIMIT_NOFILE, );
foreach (i; 3 .. cast(int) r.rlim_cur) close(i);
}
Hey,
This code is from std.process:
if (!(config & Config.inheritFDs))
{
import core.sys.posix.sys.resource;
rlimit r;
getrlimit(RLIMIT_NOFILE, );
foreach (i; 3 .. cast(int) r.rlim_cur) close(i);
}
This is a close-loop to