On 11/01/2016 04:32 PM, Bernhard Voelker wrote:
>
>> However,
>
>>> +++ b/lib/fdleak.c
>
>>> - while ((dent=readdir (dir)) != NULL) - { + while (1) +
>>> { + errno = 0;
>
> __^^
Uggh. Mail clients botched the formatting.
>
>>> + dent = readdir (
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/01/2016 09:06 PM, Eric Blake wrote:
> On 11/01/2016 02:37 PM, Bernhard Voelker wrote:
>> Similar to the FTS readdir fix in v4.6.0-72-g155c9d1, handle the last two
>> unhandled readdir(3) errors.
>>
>> * find/pred.c (pred_empty): Do the above. *
On 11/01/2016 02:37 PM, Bernhard Voelker wrote:
> Similar to the FTS readdir fix in v4.6.0-72-g155c9d1, handle the last
> two unhandled readdir(3) errors.
>
> * find/pred.c (pred_empty): Do the above.
> * lib/fdleak.c (get_proc_max_fd): Likewise. While at it, fix the
> condition to only skip "."