On 08/08/2018 01:11 PM, Bernhard Voelker wrote:
On 08/08/2018 09:39 AM, Aron Barath wrote:
* lib/fdleak.c (get_max_fd): add guard around the fd_limit variable
Thanks for the patch.
I'd favor to give that variable a better scope instead of adding another
#if/#endif block. I'll push the attached in your name unless you have
objections.
Thanks & have a nice day,
Berny
It is fine, the point is to avoid compiler error if getrlimit is not
supported (because the struct rlimit is not exists).
Thank you very much,
Aron