[Wien] Mac OSx - setrlimit(): Invalid argument
Maurits W. Haverkort
M.W.Haverkort at fkf.mpg.de
Fri May 17 10:44:28 CEST 2013
Dear All, Peter
W2kutils.c at the moment (15.5.2013) contains the line:
limit.rlim_cur = RLIM_INFINITY; /* rlimit.rlim_max */
on Mac OS this leads to a crash as there is a hard-limit on the stack
size, is there a reason not to make the standard code:
limit.rlim_cur = limit.rlim_max;
(note I removed the r in-front of limit)
Would this not on a Linux system set the stack size to infinite and on
a Mac to 65532?
Best regards,
Maurits
More information about the Wien
mailing list