bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getrlimit() patch


From: Barath Aron
Subject: getrlimit() patch
Date: Mon, 16 Jul 2018 11:24:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Hello,

I made a patch that fixes (at least to me) the declaration of an unused variable if HAVE_GETRLIMIT is false. The OS I use does not have getrlimit().

Is sysconf(3) mandatory? Because it is not guarded (HAVE_SYSCONF ?). It is a few lines below where my patch applies.

And a quick question: Can this whole thing work without fork(2)? I have implemented posix_spawn(3) in GNU make (to replace forks) with success, however I'm still waiting for the patch to be applied.

Aron

Attachment: 0000-lib_fdleak.c.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]