Why is _WIN64 not defined as 1 in _cygwin.h?

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Nov 29 10:46:33 GMT 2021


On Nov 27 13:16, Z. Majeed wrote:
> 
> 
> That was fast! Looks great

Unfortunately it doesn't work as desired.  In contrast to Linux, changing
the limit to a higher limit doesn't produce an error.  The new nested job
has just a higher limit, while the limit of the parent job is enforced.
Therefore, just adding a new nested job is not good.

Apart from tha I noticed the call order was wrong  Adding the process to
the job should only occur *after* all other calls succeeded.

> - does RLIM_INFINITY need special handling? 

I thought not and I already had written a lengthy explanation... which
I spare you with, because the code has to be rewritten anyway...


Corinna


More information about the Cygwin-developers mailing list