findutils-patches
[Top][All Lists]
Advanced

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

Re: [Findutils-patches] [PATCH] Do not leave fd_limit as an unused varia


From: Bernhard Voelker
Subject: Re: [Findutils-patches] [PATCH] Do not leave fd_limit as an unused variable on the stack if getrlimit is not supported.
Date: Wed, 8 Aug 2018 13:11:21 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

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

Attachment: 0001-fdleak.c-avoid-unused-variable-on-platforms-lacking-.patch
Description: Text Data


reply via email to

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